You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Christoph Leiter (JIRA)" <ji...@apache.org> on 2012/09/14 11:00:07 UTC
[jira] [Updated] (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 ]
Christoph Leiter updated WICKET-4760:
-------------------------------------
Attachment: WICKET-4760.patch.txt
Trivial patch which preserves newlines at the end of single line comments.
> 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
>
>
> 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