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

Martin Grigorov updated WICKET-3648:
------------------------------------

    Description: 
A markup like:
 <!--[if lt IE 8 ]>
            <style></style>
            <script src="js/ie7.js"></script>
        <![endif]-->

and the application is configured with: 
getMarkupSettings().setStripComments(true);

makes AbstractMarkupParser#removeComment(String) to enter in endless loop.

  was:
A markup like:
 <!--[if lt IE 8 ]>
            <style></style>
            <script src="js/ie7.js"></script>
        <![endif]-->

makes AbstractMarkupParser#removeComment(String) to enter in endless loop.


> AbstractMarkupParser.removeComment() goes in endless loop when the comment is 
> multi line
> ----------------------------------------------------------------------------------------
>
>                 Key: WICKET-3648
>                 URL: https://issues.apache.org/jira/browse/WICKET-3648
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-core
>    Affects Versions: 1.5-RC3
>            Reporter: Martin Grigorov
>
> A markup like:
>  <!--[if lt IE 8 ]>
>             <style></style>
>             <script src="js/ie7.js"></script>
>         <![endif]-->
> and the application is configured with: 
> getMarkupSettings().setStripComments(true);
> makes AbstractMarkupParser#removeComment(String) to enter in endless loop.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to