Merge pull request #5614 from NodeBB/fix-signatures

Fix images not displaying in signatures
v1.18.x
Julian Lam 8 years ago committed by GitHub
commit 22b4091bdf

@ -415,7 +415,7 @@
* @returns {string} * @returns {string}
*/ */
Translator.escape = function escape(text) { 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;
}; };
/** /**

Loading…
Cancel
Save