mathiasbynens/mothereff.in

HTML Entity Decoder should require trailing semicolon

FremyCompany opened this issue · 1 comments

Is it by design that '&ampersand' is conveter to '&ersand'? If my intuition is correct, it should not.

Yeah, that’s correct as per the HTML algorithm. Try it in your browser: data:text/html;charset=utf-8,&ampersand.

For more info, read about ambiguous ampersands in HTML: http://mathiasbynens.be/notes/ambiguous-ampersands