fix: rebase links in translated documentation - #5093
AnvitDevadiga wants to merge 2 commits into
Conversation
sylvesterkaczmarek
left a comment
There was a problem hiding this comment.
The fence tracking only remembers the first 3 chars. A valid four-backtick fence can contain a literal three-backtick line, which this treats as the close, so links later in that code block get rewritten. Could this keep the actual fence marker/length and only close on a fence at least that long?
|
Thanks for catching this edge case. I’ve updated the parser to preserve the full fence character and length, added a four-backtick regression test, and pushed the fix in commit |
|
Rechecked 9bc530d. Fence tracking now preserves both the fence character and its full opening length, and only a same-character fence at least that long closes the block. The four-backtick regression covers the exact case I raised. My concern is resolved. |
Closes #5092
Summary
Verification