Bugzilla – Bug 305
Make <foo bar '> a parse error on the ', to match the syntax section. (credit: hs)
Last modified: 2016-03-22 17:02:38 CET
Index: source =================================================================== --- source (revision 2122) +++ source (revision 2123) @@ -45188,6 +45188,11 @@ <dt>U+002F SOLIDUS (/)</dt> <dd>Switch to the <span>self-closing start tag state</span>.</dd> + <dt>U+0022 QUOTATION MARK (")</dt> + <dt>U+0027 APOSTROPHE (')</dt> + <dd><span>Parse error</span>. Treat it as per the "anything else" + entry below.</dd> + <dt>EOF</dt> <dd><span>Parse error</span>. Emit the current tag token. Reconsume the EOF character in the <span>data
https://parsetree.validator.nu/?parser=html5&content=<%21DOCTYPE+html><p+"+%27>&submit=Print+Tree This seems to be implemented, but it's not clear to me why the message is different between ' and "...