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

Jason E Bailey commented on SLING-3270:
---------------------------------------

The solution in stackoverflow was also the one that came up in the tagsoup mail 
list

https://groups.google.com/forum/#!topic/tagsoup-friends/09RCeHzo9yM

I'm working on making on implementing a custom schema that extends the original 
to handle all of the html5 changes.

> 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.15#6346)

Reply via email to