Closed FremyCompany closed 11 years ago
Thanks for taking the time to file issues! I really appreciate it.
The example you give is correct as per the HTML algorithm. Try it in your browser: data:text/html;charset=utf-8,&ersand
.
Some named character references don’t require a trailing semicolon. Such HTML is invalid, but browsers must parse it this way as per the HTML spec, and he
aims to be fully spec-compliant and compatible with browsers.
For more info, read about ambiguous ampersands in HTML: http://mathiasbynens.be/notes/ambiguous-ampersands
Wow. This is crazy. Thanks for the notes, I learnt a few things reading them!
Is it by design that '&ersand' is conveter to '&ersand'? If my intuition is correct, it should not.