bug#81524: 32.0.50; String highlighting state bleeds into subsequent code blocks in markdown-ts-mode

Sean Whitton <[email protected]> Fri, 31 Jul 2026 11:35:12 +0100
Newsgroups gmane.emacs.bugs
Message-ID <[email protected]>
Adam Niederer [31/Jul 12:17am -04] wrote:
> Minimal repro steps:
>
> - emacs -Q
> - M-x markdown-ts-mode
> - Insert the following content
>
> ```elisp
> "
> ```
>
> ```elisp
> highlighted as a string
> ```
>
> Expected behavior:
>
> - The text "highlighted as a string" is highlighted with the colors of
> the default face (black)
>
> Observed behavior:
>
> - The text "highlighted as a string" is highlighted with the colors of
> the string face (reddish brown)
>
> The face at point in both blocks is markdown-ts-in-code-block

Thanks, adding Rahul and Stephané.

-- 
Sean Whitton