mirror of https://github.com/zulip/zulip.git
cef784b101
Apparently, our use of JavaScript string `.replace()` here was buggy, because replace() has several special escape sequences starting with `$` if they appear in the replacement content string. We can work around this through something of a hack, which is to pass a function as the second argument to replace, which seems cleaner than replacing all $s with $$s. Thanks to Shreya for the report. |
||
---|---|---|
.. | ||
casper_lib | ||
casper_tests | ||
node_tests | ||
zjsunit | ||
.eslintrc.json | ||
run-casper |