You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Ben Fortuna (JIRA)" <ji...@apache.org> on 2016/12/08 02:34:58 UTC
[jira] [Comment Edited] (SLING-3270) html-generator to support
html5
[ https://issues.apache.org/jira/browse/SLING-3270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15730878#comment-15730878 ]
Ben Fortuna edited comment on SLING-3270 at 12/8/16 2:34 AM:
-------------------------------------------------------------
After further investigation I think this is an issue with the TagSoup SAX parser used by the default html-generator in Sling Rewriter. For example:
http://stackoverflow.com/questions/32375129/point-tagsoup-parser-to-use-html5-version
was (Author: fortuna):
After further investigation I think this is an issue with the TagSoup SAX parser used by the Sling Rewriter. For example:
http://stackoverflow.com/questions/32375129/point-tagsoup-parser-to-use-html5-version
> html-generator to support html5
> -------------------------------
>
> Key: SLING-3270
> URL: https://issues.apache.org/jira/browse/SLING-3270
> Project: Sling
> Issue Type: Improvement
> Components: Extensions
> Affects Versions: Rewriter 1.0.2
> Reporter: Jason E Bailey
>
> Given the following fragment of HTML
> <a href="url"><div></div></a>
> This is invalid html4 and valid html5, as html5 allows anchor tags to contain block elements.
> The current html-generator corrects the bad html4 and produces the following output
> <a href="url"></a><div></div>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)