Closed
Description
When Tidy encounters a style block with a comment block, it does not
parse the comment block correctly.
In fact, it will be confused if the comment block contains HTML, such
as an opening style tag.
Example:
http://the-brannons.com/styletest1.html
This also affects script tags, apparently.
Using a comment inside style or script was a way to hide the
contents from old browsers that don't understand the style or script tags,
so that they didn't try to render their contents as text.
It's apparently still being used in some HTML 5 pages. How should it
be handled today, by Tidy?