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

Rahul Martim Juliato <[email protected]> Fri, 31 Jul 2026 08:43:48 -0300
Newsgroups gmane.emacs.bugs
Message-ID <[email protected]>
Sean Whitton <[email protected]> writes:

> 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é.

Hi everyone, thanks for the report!

It looks like this problem has already been fixed in commit 94ee683d63e
(bug#81412).

I'm not able to reproduce it, unless I check out an earlier commit.

Adam, could you pull and compile the latest master with this commit and
check if this still happens to you?

-- 
Rahul Martim Juliato