From 514317ab20c625bb703dc26fab05e1d372e6697f Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Wed, 13 Sep 2017 17:06:00 -0400 Subject: [PATCH] using translator.unescape instead of replaces --- public/src/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/src/app.js b/public/src/app.js index d6acad4554..421cf71943 100644 --- a/public/src/app.js +++ b/public/src/app.js @@ -440,7 +440,7 @@ app.cacheBuster = null; .replace('{browserTitle}', function () { return config.browserTitle; }); // Allow translation strings in title on ajaxify (#5927) - title = title.replace(/[/g, '[').replace(/]/g, ']'); + title = translator.unescape(title); translator.translate(title, function (translated) { titleObj.titles[0] = translated;