@mathias how hard would it be to have a swap quote function that is correct?
-
-
For prettier I think the right call is to keep strings encoded the same way the user did it (we have the raw string)
1 reply 0 retweets 0 likes -
but we need to be able to change single quotes to double quotes and vis-versa to satisfy the quote setting
2 replies 0 retweets 0 likes -
Isn't that as easy as replacing \" and \' in raw string on changes?
4 replies 0 retweets 0 likes
Replying to @RReverser @Vjeux
Hmm… If you’re certain the string is valid then it might be that simple. Note that there are other ways to escape `"`
11:17 AM - 20 Jan 2017
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.