You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Radu Cotescu (JIRA)" <ji...@apache.org> on 2016/08/18 15:18:20 UTC

[jira] [Commented] (SLING-5841) Self closing DIV when using 'html' context in Sightly

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

Radu Cotescu commented on SLING-5841:
-------------------------------------

[~danchapman-pearson], how can I reproduce this? You haven't provided any details regarding the platform you're using.

> Self closing DIV when using 'html' context in Sightly
> -----------------------------------------------------
>
>                 Key: SLING-5841
>                 URL: https://issues.apache.org/jira/browse/SLING-5841
>             Project: Sling
>          Issue Type: Bug
>          Components: Extensions
>            Reporter: Dan Chapman
>            Priority: Minor
>
> When I do:
> ${'<div></div>' @context='html'}
> It outputs invalid HTML, it self-closes the element:
> <div/>
> Only a set number of elements are permitted to self-close - http://xahlee.info/js/html5_non-closing_tag.html.



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