W3C home > Mailing lists > Public > www-validator@w3.org > May 2017

error in validator reporting html comments incorrectly

From: Rob Davis <rob.davis@x-alt.com>
Date: Fri, 19 May 2017 13:54:29 +0100
To: www-validator@w3.org
Message-ID: <ba956cde-cb1f-a077-242d-803257b1834f@x-alt.com>
embedding an html comment, <!-- comment --> in a document, using the 
html5 validator reports an error, perhaps because it considers the <! of 
the doctype as a start comment.  The error it reports is:
--!> found at end of comment (should just be -->).

This is validator version 17.5.19  This error wasn't being reported even 
a couple of days ago.

Thanks, Rob
Received on Monday, 22 May 2017 22:15:34 UTC

This archive was generated by hypermail 2.3.1 : Monday, 22 May 2017 22:15:37 UTC