simple-html-tokenizer icon indicating copy to clipboard operation
simple-html-tokenizer copied to clipboard

Handle encoded emoji

Open cvx opened this issue 6 years ago • 2 comments

Fixes #67

This is a draft PR, because the runtime dependency I’ve added (utf16-char-codes, provides a fromCodePoint() polyfill) doesn’t seem to be tree-shaken enough, increasing the output sizes by ~11% (from 57KB/60KB to 63KB/67KB).

Should I just add the MDN polyfill as src/from-code-point-polyfill.ts (with some annotation about its origin) or are there other options?

cvx avatar Jul 01 '19 12:07 cvx

Should I just add the MDN polyfill as src/from-code-point-polyfill.ts (with some annotation about its origin) or are there other options?

Ya, lets do this...

rwjblue avatar Oct 14 '20 18:10 rwjblue

@CvX - have any time to revise?

rwjblue avatar Oct 14 '20 18:10 rwjblue