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

Alan Hunter updated TIKA-1255:
------------------------------

    Description: 
If a Word document contains a bold hyperlink, the resulting xhtml is:

<a 
href="http://www.testdomain.com/support/workcentre-7232-7242/file-download/enus.html?operatingSystem=macosx108&amp;amp;fileLanguage=en&amp;amp;contentId=126220&amp;amp;from=downloads&amp;amp;viewArchived=false";><b>Test
 link</a></b>

The closing bold and anchor tags are transposed, which isn't valid XHTML.

  was:
If a Word document contains a bold hyperlink, the resulting xhtml is:

<a 
href="http://www.testdomain.com/support/workcentre-7232-7242/file-download/enus.html?operatingSystem=macosx108&amp;amp;fileLanguage=en&amp;amp;contentId=126220&amp;amp;from=downloads&amp;amp;viewArchived=false";><b>Test
 link</a><b />

The closing bold and anchor tags are transposed, which isn't valid XHTML.


> WordExtractor - bold hyperlink not closed properly
> --------------------------------------------------
>
>                 Key: TIKA-1255
>                 URL: https://issues.apache.org/jira/browse/TIKA-1255
>             Project: Tika
>          Issue Type: Bug
>          Components: parser
>    Affects Versions: 1.2, 1.3, 1.4, 1.5
>         Environment: Any
>            Reporter: Alan Hunter
>            Priority: Minor
>             Fix For: 1.2, 1.3, 1.4, 1.5
>
>         Attachments: example.doc
>
>
> If a Word document contains a bold hyperlink, the resulting xhtml is:
> <a 
> href="http://www.testdomain.com/support/workcentre-7232-7242/file-download/enus.html?operatingSystem=macosx108&amp;amp;fileLanguage=en&amp;amp;contentId=126220&amp;amp;from=downloads&amp;amp;viewArchived=false";><b>Test
>  link</a></b>
> The closing bold and anchor tags are transposed, which isn't valid XHTML.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to