You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Chris A. Mattmann (JIRA)" <ji...@apache.org> on 2012/07/01 23:00:52 UTC

[jira] [Updated] (TIKA-754) Automatic line break insertion (BR element) instead of '\n' in XHTMLContentHandler

     [ https://issues.apache.org/jira/browse/TIKA-754?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris A. Mattmann updated TIKA-754:
-----------------------------------


- push to 1.3
                
> Automatic line break insertion (BR element) instead of '\n' in XHTMLContentHandler
> ----------------------------------------------------------------------------------
>
>                 Key: TIKA-754
>                 URL: https://issues.apache.org/jira/browse/TIKA-754
>             Project: Tika
>          Issue Type: Improvement
>    Affects Versions: 0.10, 1.0
>            Reporter: Pablo Queixalos
>            Priority: Minor
>             Fix For: 1.3
>
>         Attachments: TIKA-754.poc.patch
>
>
> As seen with some parsers (PDF, PPT), some text blocks still contains text carriage returns ('\n') in the outputted XHTML. 
> A global fix for this could be located in XHTMLContentHandler.characters(...).
> By analyzing the given char array, when a '\n' char is encountered insert a BR element instead.

--
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