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 2015/10/08 10:51:26 UTC

[jira] [Comment Edited] (SLING-4260) Sightly support for encoding for xml

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

Radu Cotescu edited comment on SLING-4260 at 10/8/15 8:50 AM:
--------------------------------------------------------------

Currently the XSS implementation actually encodes both HTML and XML using the same encoder. Therefore you could just use the {{html}} context, if you need to manually specify it.


was (Author: radu.cotescu):
Currently the XSS implementation actually encodes both HTML and XML using the same encoder. Therefore you could just use the {{html}} context, if you need to manually specify the context.

> Sightly support for encoding for xml
> ------------------------------------
>
>                 Key: SLING-4260
>                 URL: https://issues.apache.org/jira/browse/SLING-4260
>             Project: Sling
>          Issue Type: Improvement
>          Components: Scripting
>    Affects Versions: Scripting Sightly Engine 1.0.2
>            Reporter: Feike Visser
>            Assignee: Radu Cotescu
>             Fix For: Scripting Sightly Engine 1.0.6
>
>
> Currently this is not supported in Sightly:
> {noformat}
> ${ property @ context = 'xml' }
> {noformat}
> This should call the xssApi encode for XML.



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