W3C home > Mailing lists > Public > www-validator@w3.org > March 2013

Meta - Escaped quote should be OK - HTML4 strict (email)

From: Denis TRUFFAUT <denis.truffaut@gmail.com>
Date: Thu, 14 Mar 2013 14:40:58 +0100
Message-ID: <CAME90FfnnzMSLMEwnxrJdD_RON7VRuDjeFxv+wC0mv2ZWsN9Hg@mail.gmail.com>
To: www-validator@w3.org
<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01//EN' '
http://www.w3.org/TR/html4/strict.dtd'>
<html>
    <head>
        <title></title>
        <meta name='description' content='&#039;'>
    </head>
    <body>
        <div></div>
    </body>
</html>


.... is OK


But :


<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01//EN' '
http://www.w3.org/TR/html4/strict.dtd'>
<html>
    <head>
        <title></title>
        <meta name='description' content='\''>
    </head>
    <body>
        <div></div>
    </body>
</html>


.... Fails

The only difference is the &#039; transformed into \'

Escaped quotes should be considered as valid.
Received on Thursday, 14 March 2013 21:36:49 GMT

This archive was generated by hypermail 2.3.1 : Thursday, 14 March 2013 21:36:51 GMT