[
http://jira.magnolia.info/browse/MAGNOLIA-1530?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jan Haderka resolved MAGNOLIA-1530.
-----------------------------------
Resolution: Fixed
Applied on trunk. Thanks for the patch.
r17347
> Add escapeXml attribute to cms:out tag
> --------------------------------------
>
> Key: MAGNOLIA-1530
> URL: http://jira.magnolia.info/browse/MAGNOLIA-1530
> Project: Magnolia
> Issue Type: Improvement
> Components: taglibs
> Affects Versions: 3.0.2
> Environment: All
> Reporter: Sean McMains
> Assignee: Jan Haderka
> Attachments: escapexml.diff, escapeXmlPatch.txt
>
>
> In order to generate validating XHTML and XML, it would be very useful to
> have an escapeXml attribute for the cms:out tag. Currently one has to rely on
> JSTL to get proper escaping, like this:
> <cms:out nodeDataName="text" var="text"/><c:out value="${text}"/>
> (Note the JSTL c:out tag escapes by default, though you can turn it off with
> its escapeXml attribute.)
> It would be nicer to be able to do this:
> <cms:out nodeDataName="text" escapeXml="true" />
> Since magnolia templates (FCK Editor paragraphs especially) rely on the
> existing behavior, this attribute probably needs to default to false, rather
> than true as the JSTL template does.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.magnolia.info/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/
----------------------------------------------------------------