Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Scripting Sightly Engine 1.0.0, Scripting HTL Compiler 1.0.0, Scripting HTL Compiler 1.1.0-1.4.0, Scripting HTL Compiler 1.2.0-1.4.0
-
None
Description
The current implementation of data-sly-element doesn't correctly handle void elements which will replace the original element on which the block element was placed:
When ${item.element.name} evaluates to link or meta, the element will have a closing tag in the following example, although both link and meta are void elements:
<script data-sly-element="${item.element.name @ context='unsafe'}"></script>
Attachments
Issue Links
- links to