ladybird/Userland/Libraries/LibWeb/HTML/SyntaxHighlighter
Max Wipfli 44c438d0ca LibWeb: Fix off-by-one error in SyntaxHighlighter
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.
2021-06-05 00:32:28 +04:30
..
SyntaxHighlighter.cpp LibWeb: Fix off-by-one error in SyntaxHighlighter 2021-06-05 00:32:28 +04:30
SyntaxHighlighter.h LibWeb: Add debugging statements in SyntaxHighlighter 2021-06-05 00:32:28 +04:30