[
https://issues.apache.org/jira/browse/TIKA-5077?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18150763#comment-18150763
]
ASF GitHub Bot commented on TIKA-5077:
--------------------------------------
DylanSYHoh opened a new pull request, #3677:
URL: https://github.com/apache/tika/pull/3677
When an artifact (header, footer, page number) sits in the middle of a
tagged paragraph and there's already a space next to it, Tika wrote a second
one `("Article B")`. It now writes only one.
Split out and found from https://github.com/apache/tika/pull/3654
> Tagged PDF: double space where an artifact is cut out of a paragraph
> --------------------------------------------------------------------
>
> Key: TIKA-5077
> URL: https://issues.apache.org/jira/browse/TIKA-5077
> Project: Tika
> Issue Type: Bug
> Reporter: Dylan Hoh
> Priority: Minor
>
> When an artifact (header, footer, page number) sits in the middle of a tagged
> paragraph and there's already a space next to it, Tika adds a second one:
>
> {code:java}
> "Article " + [x y] + "B" -> "Article B" (two spaces)
> "Article " + [12] + "B" -> "Article B" (correct)
> "Article " + [Chapter 3] + "B" -> "Article B" (two spaces)
> "Article" + [Chapter 3] + " B" -> "Article B" (two spaces){code}
>
> Split out from TIKA-5073 (https://github.com/apache/tika/pull/3654).
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)