You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2012/09/17 10:51:07 UTC

[jira] [Resolved] (WICKET-4760) JavaScriptStripper fails with single line comments

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

Martin Grigorov resolved WICKET-4760.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 6.1.0
         Assignee: Martin Grigorov

Patch applied.
Thanks!
                
> JavaScriptStripper fails with single line comments
> --------------------------------------------------
>
>                 Key: WICKET-4760
>                 URL: https://issues.apache.org/jira/browse/WICKET-4760
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5.8, 6.0.0
>            Reporter: Christoph Leiter
>            Assignee: Martin Grigorov
>             Fix For: 6.1.0
>
>         Attachments: WICKET-4760.patch.txt, WICKET-4760-tests.patch.txt
>
>
> The valid input
> x++ //
> x++
> gets transformed to
> x++ x++
> which is syntactically invalid. This breaks the unminified version of bootstrap 2.1.1.
> The problem doesn't occur with multiline comments because the linebreaks are preserved there.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira