mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-02 13:54:07 +00:00
This changes the HTML SyntaxHighlighter to conform to the now-fixed rendering of syntax highlighting spans in GUI::TextEditor. It also avoids emitting tokens if they have a zero or negative length. This fixes a bug where single-character tokens were not highlighted properly.