Description
Markup of our page contains the following code in its <head> tag:
<!--[if lte IE 7]>
<script wicket:id="json-lib" type="text/javascript" src="js/json2.js"></script>
<![endif]-->
When configuration=development this works fine. When configuration=production, parser tries to eliminate HTML comments and freezes in an infinite loop in MarkupParser.removeComment().