Re: [code] Strange folding behaviour

From: Mitchell <>
Date: Sun, 7 Oct 2018 13:26:06 -0400 (EDT)

Hi Alexander,

On Thu, 4 Oct 2018, Alexander Misel wrote:

> I improved the HTML lexer for better support of single tags and unknown
> elements and attributes. See attached file.

Thanks for sharing. I cannot commit it because your modifications prevent
trailing '>' or '/>' to be highlighted as HTML tags. If I tweak the
`tag_close` pattern around line 48 to specify 'paired_token' as the token
name, I get highlighting, but using '/>' for "single_element"s ruins folding.
This looks like a tricky problem to solve correctly.


You are subscribed to
To change subscription settings, send an e-mail to
To unsubscribe, send an e-mail to
Received on Sun 07 Oct 2018 - 13:26:06 EDT

This archive was generated by hypermail 2.2.0 : Mon 08 Oct 2018 - 06:38:16 EDT