Details
Description
I cannot use the HTML5 Boilerplate HTML with wicket. Wicket appears to parse HTML inside IE conditional comments when they appear between the doctype declaration and the <html> tag.
The first lines of the boilerplate html look like this:
<!doctype html>
<!-[if lt IE 7 ]> <html lang="en" class="no-js ie6"> <![endif]->
<!-[if IE 7 ]> <html lang="en" class="no-js ie7"> <![endif]->
<!-[if IE 8 ]> <html lang="en" class="no-js ie8"> <![endif]->
<!-[if IE 9 ]> <html lang="en" class="no-js ie9"> <![endif]->
<Unable to render embedded object: File (--[if (gt IE 9)) not found.(IE)]><!-> <html lang="en" class="no-js"> <!<![endif]->
...which causes a problem for wicket, as it thinks there are five opening <html> tags on the page.
Attachments
Attachments
Issue Links
- is duplicated by
-
WICKET-3801 Wicket fails parsing conditional comments surrounding the <html> tag
- Resolved
- relates to
-
WICKET-3648 AbstractMarkupParser.removeComment() goes in endless loop when the comment is multi line
- Resolved