mathiasbynens / he

A robust HTML entity encoder/decoder written in JavaScript.
https://mths.be/he
MIT License
3.43k stars 255 forks source link

Add `strict` option to `decode` that throws on parse errors #9

Closed mathiasbynens closed 11 years ago

mathiasbynens commented 11 years ago

This would make it possible to use he as part of a HTML parser/validator, for example.