html-entities
html-entities copied to clipboard
safari 12 \ud835 error
There's an error: SyntaxError: Invalid character '\ud835' in safari 12.1.2
same error here on SyntaxError: Invalid unicode escape in identifier: '\u2118'
when the named-references file is loaded (https://github.com/mdevils/html-entities/blob/master/src/named-references.ts), this error is triggered in Safari 12.1
OK with Safari 12.3 and 12.4
(Tested on Browserstack)
maybe this is related: https://github.com/prettier/prettier/issues/5052
Hello @reyhappen and @acailly! I've tested the built files against Safari 12.1.2 and it worked fine. Can it be that your build tool does something during the bundling process that breaks Safari?
I'm closing this issue. Feel free to reopen in case if you're sure it's connected to this package directly.