You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Tyler Palsulich (JIRA)" <ji...@apache.org> on 2015/03/03 21:34:05 UTC

[jira] [Commented] (TIKA-1017) DefaultHtmlMapper misses some safe elements

    [ https://issues.apache.org/jira/browse/TIKA-1017?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14345688#comment-14345688 ] 

Tyler Palsulich commented on TIKA-1017:
---------------------------------------

I'm afraid I don't understand what a safe element is in this context. Are there any other html tags we need to include for this issue before we close it off?

> DefaultHtmlMapper misses some safe elements
> -------------------------------------------
>
>                 Key: TIKA-1017
>                 URL: https://issues.apache.org/jira/browse/TIKA-1017
>             Project: Tika
>          Issue Type: Bug
>          Components: parser
>            Reporter: Daniel Bonniot de Ruisselet
>
> The code of DefaultHtmlMapper says that the list of "safe" elements is based on http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd
> Elements like <sub> and <i> are not included in the safe list. Is this intentional (a comment with the rationale would be useful) or should they be added?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)