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

Tim Allison resolved TIKA-2562.
-------------------------------
    Fix Version/s: 3.0.0-BETA
       Resolution: Fixed

I _think_ this is fixed with the migration to JSoup in the 3.x/main branch.  
Please re-open if not.

> tika server parse HTML removes DIVs around hyperlink & adds shape
> -----------------------------------------------------------------
>
>                 Key: TIKA-2562
>                 URL: https://issues.apache.org/jira/browse/TIKA-2562
>             Project: Tika
>          Issue Type: Bug
>          Components: gui, parser, server
>    Affects Versions: 1.17
>            Reporter: NW Brad
>            Priority: Major
>             Fix For: 3.0.0-BETA
>
>         Attachments: tika_adds_shape_to_hyperlink.html
>
>
> Hyperlinks in a HTML document that are parsed via tika server:
> curl -X PUT --upload-file tika_adds_shape_to_hyperlink.html 
> [http://localhost:9998/tika] --header "Accept: text/html"
> sent:
> <div>
>  <a 
> href="http://www.google.com";>[http://www.google.com|http://www.google.com/]</a>
>  </div>
> received back:
> <a shape="rect" 
> href="http://www.google.com";>[http://www.google.com|http://www.google.com/]</a>
>  
> Divs are are gone and a shape has been added
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to