Closed mbostock closed 4 years ago
This currently throws a confusing TypeError: Cannot read property 'length' of undefined.
html`this is not valid \unicode`
Per this precedent
https://exploringjs.com/es6/ch_template-literals.html#sec_html-tag-function-implementation
I believe hypertext literal should favor the raw input instead of allowing embedded unicode escapes.
This currently throws a confusing TypeError: Cannot read property 'length' of undefined.
Per this precedent
https://exploringjs.com/es6/ch_template-literals.html#sec_html-tag-function-implementation
I believe hypertext literal should favor the raw input instead of allowing embedded unicode escapes.