Special HTML characters (<>&"') inside the main text or PDF metadata (e.g.: title) are not escaped in the HTML output, possibly resulting in invalid HTML.
This is trivial to reproduce, but, if you need a sample doc, just ask...
Having the file to reproduce will make it easier to fix, so yes, attach such a file.
Created attachment 105255 [details]
Pdf document with a title property, and a text body, containing HTML special characters
The HTML special characters, should be replaced with character entities in the HTML output (< should become < etc.) but they are not. As a result, some pieces of text disappear in the display (e.g. <un tag>), or bad HTML syntax results in unpredictable behaviour.
Forgot: if someone is looking at this, the problem is also present for the "content" attribute of <meta> elements. Generally, no text should go from the PDF to the HTML document without being escaped.
-- GitLab Migration Automatic Message --
This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.
You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/poppler/poppler/issues/485.