[
https://issues.apache.org/jira/browse/PDFBOX-1130?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael McCandless updated PDFBOX-1130:
---------------------------------------
Attachment: PDFBOX-1130.patch
Possible patch to fix this issue; not sure it's the best approach since it just
"lazily closes" an open <p> if it hadn't already been closed.
> ExtractText -html doesn't always close the <p> tags it opens
> ------------------------------------------------------------
>
> Key: PDFBOX-1130
> URL: https://issues.apache.org/jira/browse/PDFBOX-1130
> Project: PDFBox
> Issue Type: Bug
> Reporter: Michael McCandless
> Priority: Minor
> Attachments: 000086.pdf, PDFBOX-1130.patch
>
>
> I have a test document (same one on PDFBOX-1129), which when run through
> ExtractText -html, extracts the page number for each page, however in each
> case the page number looks like:
> <p>N<p>Text of page N...
> Ie, the <p> tag for the page number wasn't closed.
> Maybe related: if I run ExtractText without html, there is not space after
> the page number and before the next word, ie I see words like 1Massachusetts,
> 2Course, 3also, 4the.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira