HTML Entity Decoder should require trailing semicolon
FremyCompany opened this issue · 1 comments
FremyCompany commented
Is it by design that '&ersand' is conveter to '&ersand'? If my intuition is correct, it should not.
mathiasbynens commented
Yeah, that’s correct as per the HTML algorithm. Try it in your browser: data:text/html;charset=utf-8,&ersand
.
For more info, read about ambiguous ampersands in HTML: http://mathiasbynens.be/notes/ambiguous-ampersands