- From: Greg Lauver <GregLauver@msn.com>
- Date: Sun, 16 Jan 2011 14:59:06 -0500
- To: <www-validator@w3.org>
- Message-ID: <BLU152-ds466F3BEA240C1F2C9DB7CCBF50@phx.gbl>
Character entities in an HTML5 meta description tag: ampersand (&) is OK. Bullet (•) and other entities generate an error: Validation Output: 1 Error Line 5, Column 56: reference to undeclared general entity bull <meta name="description" content="This & that • Something else" /> _______________________ Here is the example: <!DOCTYPE HTML> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head><title>Possible oversight in the HTML5 Validator</title> <meta charset="utf-8" /> <meta name="description" content="This & that • Something else" /> </head> <body> <p>Character entities in an HTML5 meta description tag: ampersand (&) is OK. Bullet (•) and other entities generate an error:</p> <span style="color:#F00">Validation Output: 1 Error</span> <br /><i>Line 5, Column 56:</i> <b>reference to undeclared general entity bull</b> <br /><meta name="description" content="This &amp; that &bull<span style="color:#F00">;</span> Something else" /> </body> </html>
Received on Sunday, 16 January 2011 21:09:30 UTC