Commit 3f20390
Fix escape_except_blockquotes for greater than 9 block quotes in 1 string (#317)
* Fix escape_except_blockquotes for greater than 9 block quotes in 1 string
When there are more than 9 block quotes in a string `escape_except_blockquotes` will fail do to the fact that the `BLOCKQUOTE_TOKEN_{i}` replacement will incorrectly match for both `BLOCKQUOTE_TOKEN_1` and `BLOCKQUOTE_TOKEN_10`
This just extends it to `BLOCKQUOTE_TOKEN_{i}_END` so this accidental match doesn't happen.
* update changelog
* Updated PR references in 1 changelogs.
skip-checks: true
---------
Co-authored-by: GitHub Action <github-action@users.noreply.github.com>1 parent e47241f commit 3f20390
2 files changed
+9
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
0 commit comments