Anyone have/know a good resource that specifies where/how html/xml comments are allowed in script tags? SO doesn't suffice
-
-
Replying to @kuvos
@kuvos and more complicated desc http://www.w3.org/TR/2012/CR-html5-20121217/scripting-1.html#scripting-1 … 4.3.1.21 reply 0 retweets 1 like -
Replying to @tbdr
@tbdr@mathias now see the thing is that http://javascript.spec.whatwg.org/#comment-syntax says --> is a SLC, but http://www.w3.org/TR/html4/interact/scripts.html#edef-SCRIPT … says you need to do // -->2 replies 0 retweets 0 likes
Replying to @kuvos
@kuvos @tbdr That’s because http://javascript.spec.whatwg.org/#comment-syntax is “non-standard”. All JS engines implement it though.
1:59 AM - 25 Jun 2013
0 replies
0 retweets
0 likes
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.