brendandahl/pdf.js.utils

XFA browser not showing correct text

brendandahl opened this issue · 2 comments

https://bug1722003.bmoattachments.org/attachment.cgi?id=9232818

if you open this pdf: https://bug1722003.bmoattachments.org/attachment.cgi?id=9232818
and search for "Text2" string
you'll see something like <exData contentType="text/html"> and the stuff under this node is almost empty (only white spaces with some spans around)
and if I uncompress it using qpdf I can see the text under this node
"Please read the ...."

If I download the raw section of the template the expected text is there. I'm guessing there's something wrong with the XML prettifier.