Files
ladybird/Userland/Libraries/LibWebView/SourceHighlighter.cpp
Samuel Eisenhandler 7de669dc07 LibWebView: Append remaining source after consuming all tokens
Since "Character" tokens do not have an "end position", viewing source
drops the source contents following the final non-"Character" token.

By handling the EOF token and breaking out of the loop, we avoid this
issue.
2024-07-03 08:59:53 -04:00

3.0 KiB