[
https://issues.apache.org/jira/browse/WICKET-4760?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Christoph Leiter updated WICKET-4760:
-------------------------------------
Attachment: WICKET-4760-tests.patch.txt
Adds testcase, fixes other tests.
> 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
> 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