Skip to content

Use code delimiters longer than embedded backtick runs - #79

Open
feritcemkahraman wants to merge 1 commit into
github:mainfrom
feritcemkahraman:fix/code-backtick-delimiters
Open

feritcemkahraman wants to merge 1 commit into
github:mainfrom
feritcemkahraman:fix/code-backtick-delimiters

Conversation

@feritcemkahraman

Copy link
Copy Markdown

Quoting inline code containing a run of two backticks uses the same run as its delimiter, so the Markdown closes early. A fenced block containing a closing triple-backtick line has the same problem.

Choose delimiters longer than any backtick run in the code, keeping the existing output for ordinary code. Added inline and fenced regressions for mixed and boundary runs; both failed before the fix. All 11 Chromium tests, ESLint and the TypeScript/Rollup builds passed. Firefox/WebKit were not run.

@feritcemkahraman
feritcemkahraman requested a review from a team as a code owner October 20, 2026 11:40

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant