sling-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason E Bailey (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SLING-3270) html-generator to support html5
Date Thu, 29 Nov 2018 15:31:00 GMT

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

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

Adding a new HTML5 parser implementation the commons bundle

> 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)

Mime
View raw message