mirror of
https://github.com/zulip/zulip.git
synced 2025-11-09 00:18:12 +00:00
String.prototype.replace and String.prototype.replaceAll interpret certain sequences such as $$ within a string provided as the replacement argument. Avoid this interpretation by providing a function. Signed-off-by: Anders Kaseorg <anders@zulip.com>