[
https://issues.apache.org/jira/browse/TIKA-1544?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14310014#comment-14310014
]
Michael McCandless commented on TIKA-1544:
------------------------------------------
bq. I have hesitation about changing the original logic, because I'm not sure
why if(inParagraph) was added...maybe for properly closing formatting?
I don't remember why...
bq. would be more general and handle the formatting stuff properly?
I think that may be safer? In case there was pending styling that needs to be
closed ...
I think if Tika's tests pass with that change you should commit!
> empty lines are not preserved
> -----------------------------
>
> Key: TIKA-1544
> URL: https://issues.apache.org/jira/browse/TIKA-1544
> Project: Tika
> Issue Type: Bug
> Affects Versions: 1.6
> Environment: Windows 8, Java 1.8
> Reporter: mortee
> Priority: Minor
> Attachments: preserve_new_lines_in_rtf.patch, testRTFNewlines.rtf
>
>
> I'm trying to extract the text content from RTF documents. The files contain
> empty lines (two or more consecutive paragraph-end marks), on which the
> further processing relies to tell apart different parts of the text. But
> unfortuantely Tika (with --text switch) eliminates all those empty lines,
> instead of preserving them.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)