JPeterMugaas/HtmlViewer — comment on commit fa091322e7749d39f1722ee89b41d025b9de8728
File: source/ReadHTML.pas line 655
By BerndGabriel:

This becomes an endless loop, if there is no GreaterChar in the remaining buffer.
These "while LCh <> xxx do" loops need to check for EofChar too:

while (LCh <> xxx) and (LCH <> EofChar) do