Skip to content

Commit 9df9101

Browse files
Merge pull request #3465 from ava-labs/add-another-escape-char
2 parents 20fcfc2 + a255939 commit 9df9101

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@ content/docs/acps/226-dynamic-minimum-block-times.mdx
168168
content/docs/acps/23-p-chain-native-transfers.mdx
169169
content/docs/acps/236-continuous-staking.mdx
170170
content/docs/acps/24-shanghai-eips.mdx
171+
content/docs/acps/247-delegation-multiplier-increase-maximum-validator-weight-reduction.mdx
171172
content/docs/acps/25-vm-application-errors.mdx
172173
content/docs/acps/30-avalanche-warp-x-evm.mdx
173174
content/docs/acps/31-enable-subnet-ownership-transfer.mdx

content/docs/acps/meta.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"---Overview---",
88
"index",
99
"---Standards Track ACPs---",
10+
"247-delegation-multiplier-increase-maximum-validator-weight-reduction",
1011
"236-continuous-staking",
1112
"226-dynamic-minimum-block-times",
1213
"224-dynamic-gas-limit-in-subnet-evm",

utils/remote-content/parsers/pipelines.mts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -317,6 +317,8 @@ export const fixUnicodeMathSymbols: TransformFunction = (content) => {
317317
// Replace ASCII comparison operators that can cause MDX issues (but not HTML tags)
318318
.replace(/([^<>=!\w/])<=/g, '$1&lt;=')
319319
.replace(/([^<>=!\w/])>=/g, '$1&gt;=')
320+
// Escape < followed by a digit (like <1k) which MDX would try to parse as JSX tag
321+
.replace(/<(\d)/g, '&lt;$1')
320322
// Fix table formatting issues with backslashes and asterisks
321323
.replace(/\\\*/g, '\\\\*')
322324
// Replace other common mathematical symbols that might cause MDX issues

0 commit comments

Comments
 (0)