[ https://issues.apache.org/jira/browse/TIKA-2562?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16352515#comment-16352515 ]
Tim Allison commented on TIKA-2562: ----------------------------------- Thank you for looking into this. IIUC, [~rgauss] offers a way to get the closing tags on empty elements in TIKA-895 via configuration of the SAXTransformer. Fellow Tika-devs, do we want to make this configurable in tika-server...or make it the default ...or...? > 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)