mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-14 10:56:35 +02: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.
5.9 KiB
5.9 KiB