You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Robert Munteanu (JIRA)" <ji...@apache.org> on 2015/02/17 16:39:12 UTC

[jira] [Resolved] (SLING-4428) Sightly: scriptComment and styleComment contexts are not doing anything

     [ https://issues.apache.org/jira/browse/SLING-4428?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Munteanu resolved SLING-4428.
------------------------------------
    Resolution: Fixed

Applied in https://svn.apache.org/r1660420 . Thanks for your contribution

> Sightly: scriptComment and styleComment contexts are not doing anything
> -----------------------------------------------------------------------
>
>                 Key: SLING-4428
>                 URL: https://issues.apache.org/jira/browse/SLING-4428
>             Project: Sling
>          Issue Type: Bug
>          Components: Extensions
>            Reporter: Vlad Bailescu
>            Assignee: Robert Munteanu
>            Priority: Minor
>             Fix For: XSS Protection API 1.0.0, Scripting Sightly Engine 1.0.0
>
>
> The Sightly spec defines scriptComment context but in the current implementation it is not working as expected, as it's treated internally like a JS token. This needs to be fixed so that the comment context will work as expected.
> The spec will clarify usage of the scriptComment context (it will only be used for block comments, ie: /*...*/) and will also add styleComment (which will behave similarly): https://github.com/Adobe-Marketing-Cloud/sightly-spec/pull/12



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