Commit e588f24
fix(test): handle escaped markdown code fences (#35125)
Fix markdown doctest extraction so fenced blocks are matched using the
opening backtick fence length. This prevents literal triple-backtick
snippets inside longer escaped fences from being extracted as doctests.
Adds a focused `deno test --doc` regression for the escaped-fence
markdown from #11640.
Closes #11640
Closes denoland/divybot#557
Co-authored-by: divybot <divybot@users.noreply.github.com>
Co-authored-by: Divy Srivastava <me@littledivy.com>1 parent 8f4dbff commit e588f24
4 files changed
Lines changed: 308 additions & 86 deletions
File tree
- cli/util
- tests/specs/test/markdown_escaped_code_block
0 commit comments