[Bug 20974] New: Comments including meta tag

https://www.w3.org/Bugs/Public/show_bug.cgi?id=20974

            Bug ID: 20974
           Summary: Comments including meta tag
    Classification: Unclassified
           Product: Validator
           Version: HEAD
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML5
          Assignee: mike+validator@w3.org
          Reporter: iaack@yahoo.co.jp
        QA Contact: www-validator-cvs@w3.org

The validator fails to handle comments including meta tags like this

<!DOCTYPE html>
<title></title>

<!--
 <meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS">
-->

After validated, This text will be changed to

<!DOCTYPE html>
<title></title>

<!--
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><!-- <meta
http-equiv="Content-Type" content="text/html; charset=Shift_JIS"> -->
-->

The error message is following

Consecutive hyphens did not terminate a comment. -- is not permitted inside a
comment, but e.g. - - is.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Tuesday, 12 February 2013 11:45:07 UTC