Files
marked/test
brekenandbreken-ai 6a57018fc9 fix: keep a backslash in a code span from hiding emphasis (#4117)
* fix: keep a backslash in a code span from hiding emphasis

The em/strong mask replaced every backslash escape before it masked
code spans, but a backslash inside a code span is literal. A code span
ending in `\` therefore lost its closing backtick in the mask, so the
next backtick paired with it and the emphasis between them was masked
out and rendered as literal `_` or `*`.

Mask escapes only outside code spans.

* fix: keep emphasis out of a code span that holds a backtick

---------

Co-authored-by: breken-ai <312387581+breken-ai@users.noreply.github.com>
2026-10-10 13:12:56 -04:00
..