Anyone have/know a good resource that specifies where/how html/xml comments are allowed in script tags? SO doesn't suffice
@kuvos http://javascript.spec.whatwg.org/#comment-syntax and http://mths.be/etago , but that’s all I know
-
-
@mathias your article doesn't mention comments (except for the comment section ;), but the first article does. so they're treated as SLC? -
@kuvos In JavaScript, yes. But HTML may have an additional layer of weirdness on top of that - 2 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
JavaScript, HTML, CSS, HTTP, performance, security, Bash, Unicode, i18n, macOS.