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


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

        

Reply via email to