[ https://issues.apache.org/jira/browse/TIKA-2562?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16350330#comment-16350330 ]
Tim Allison commented on TIKA-2562: ----------------------------------- This is a "feature" of tagsoup see, e.g. [https://groups.google.com/forum/#!topic/tagsoup-friends/EfB6i12xBLw] I'm hesitant to fix this in Tika because we should probably migrate to jsoup, which is actively supported (TIKA-1599). > 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 > 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 (v7.6.3#76005)