From 9d8ff4ea3ec59c3f7e23e5897e5db29752c7cb3c Mon Sep 17 00:00:00 2001 From: Peter Jaszkowiak Date: Wed, 19 Apr 2017 17:19:38 -0600 Subject: [PATCH] Fix images not displaying in signatures --- public/src/modules/translator.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/src/modules/translator.js b/public/src/modules/translator.js index 2e9dcafb9c..29aed1af9c 100644 --- a/public/src/modules/translator.js +++ b/public/src/modules/translator.js @@ -415,7 +415,7 @@ * @returns {string} */ Translator.escape = function escape(text) { - return typeof text === 'string' ? text.replace(/\[/g, '[').replace(/\]/g, ']') : text; + return typeof text === 'string' ? text.replace(/\[\[/g, '[[').replace(/\]\]/g, ']]') : text; }; /**