3 ms·
Your lexer now needs to understand JavaScript too, though.
by jameshart 6y ago
Your lexer now needs to understand JavaScript too, though.
- deleted 6y ago[deleted]
- goto11 6y agoThe content model of the script element is gnarly for historical reasons, but it does not depend on the syntax of the scripting language used: https://html.spec.whatwg.org/multipage/scripting.html#restrictions-for-contents-of-script-elements https://html.spec.whatwg.org/multipage/scripting.html#restri...