mathiasbynens / he

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

As is, code produces an JS error #89

Open TheCraig opened 1 year ago

TheCraig commented 1 year ago

I added this source to my project and got this error fyi:

Uncaught SyntaxError: Unexpected token '<' (at line 32)

So I pasted it into a jsfiddle and same thing.

https://jsfiddle.net/xstatic/n3k6yhg1/1/

Thanks!

TheCraig commented 1 year ago

nevermind, looks like there is more to the library than just the initial src.