You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Jason E Bailey (JIRA)" <ji...@apache.org> on 2018/11/29 15:30:00 UTC

[jira] [Updated] (SLING-3270) html-generator to support html5

     [ https://issues.apache.org/jira/browse/SLING-3270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jason E Bailey updated SLING-3270:
----------------------------------
    Fix Version/s: Commons HTML 1.0.4

> 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
>            Assignee: Jason E Bailey
>            Priority: Major
>             Fix For: Commons HTML 1.0.4
>
>         Attachments: 218.patch
>
>
> 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
(v7.6.3#76005)