Closed tomlarkworthy closed 3 years ago
Maybe should bump to version 0.3 too?
Are there other weird elements like this?
YES it's an 'escapable raw text element' like....
https://www.w3.org/TR/html52/syntax.html#escapable-raw-text
Perhaps Githubissues.
html
<textarea>${'yo'}</textarea>
was evaluating to<textarea><!--::1::--></textarea>
as the treeWalker method for removeing strings wrapped in COMMENTS will not traverse into psuedo children textarea hasAlso npm script test using Jest + JSDom
Fixes https://github.com/observablehq/htl/issues/18