[
https://issues.apache.org/jira/browse/SLING-8937?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dominik Hardtke updated SLING-8937:
-----------------------------------
Description:
We generate an RSS feed in HTL.
When we put e.g.
{code:xml}<link>test</link>{code}
in our template, it is being rendered as
{code:xml}<link/>test</link>{code}
A workaround is to use
{code:xml}${'<link>' @ context='unsafe'}test</link>{code}
This happens in AEM 6.5 SP3. It did not happen with AEM 6.2 SP1 CFP4
was:
We generate an RSS feed in HTL.
When we put e.g.
{code:xml}<link>test</link>{code}
in our template, it is being rendered as
{code:xml}<link/>test</link>{code}
A workaround is to use
{code:xml}${'<link>' @ context='unsafe'}test</link>{code}
> "link" tag is incorrectly outputted as self-closing
> ---------------------------------------------------
>
> Key: SLING-8937
> URL: https://issues.apache.org/jira/browse/SLING-8937
> Project: Sling
> Issue Type: Bug
> Reporter: Dominik Hardtke
> Priority: Minor
>
> We generate an RSS feed in HTL.
> When we put e.g.
> {code:xml}<link>test</link>{code}
> in our template, it is being rendered as
> {code:xml}<link/>test</link>{code}
> A workaround is to use
> {code:xml}${'<link>' @ context='unsafe'}test</link>{code}
> This happens in AEM 6.5 SP3. It did not happen with AEM 6.2 SP1 CFP4
--
This message was sent by Atlassian Jira
(v8.3.4#803005)