#ES6's template literals (interpolated string literals) are going to re-highlight weirdnesses around line endings cross-platform.
-
-
Replying to @getify
@getify template literals are supposed to do some line end normalization. See note at end of http://people.mozilla.org/~jorendorff/es6-draft.html#sec-static-semantics-tv-s-and-trv-s …1 reply 1 retweet 2 likes -
Replying to @getify
@getify@awbjs True - that's what Acorn does when parsing template literals: http://babeljs.io/repl/#?experimental=false&evaluate=false&loose=false&spec=false&playground=false&code=%601%0D%0A2%0D3%60 … (note the %0D%0A and %0D in url)3 replies 0 retweets 1 like
Replying to @RReverser
@RReverser @getify @awbjs Note that <textarea>s can only contain `\n`, not `\r`: https://html.spec.whatwg.org/multipage/forms.html#the-textarea-element … “Replace every U+000D […]”
2:25 PM - 4 Jun 2015
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.