Great patch, and great fix, showing how proper escaping is now built in to the web platform. Also see the follow-up tweet about how this is only really possible due to recent web standards work.https://twitter.com/mathias/status/1095423787825283072 …
-
-
By coincidence I just manually reimplemented global string replacement without touching global state elsewhere today https://crrev.com/c/1473030/5/src/runtime/runtime-strings.cc …. +1 on revisiting this spec change, there should really be a convenient way to do global string replacement without regexps in JS.
- End of conversation
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.
