This is an HTML file
It doesn't render correctly in LibreOffice Writer/Web 4.2 because it has a <!DOCTYPE ...>
NOT on the first line.
See "File that works.html" for a file that does not reproduce the bug.