From 90c1c6242e5e428b6a7ebf83e1473adbe6f41be5 Mon Sep 17 00:00:00 2001 From: Jermolene Date: Mon, 28 Aug 2017 10:29:36 +0100 Subject: [PATCH] Fix typo --- core/modules/utils/transliterate.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/modules/utils/transliterate.js b/core/modules/utils/transliterate.js index ab58fe6d2..f42ed1319 100644 --- a/core/modules/utils/transliterate.js +++ b/core/modules/utils/transliterate.js @@ -912,7 +912,8 @@ var transliterationPairs = { exports.transliterate = function(str) { return str.replace(/[^A-Za-z0-9\[\] ]/g,function(ch) { - return transliterationPairs[ch] || ch})}; + return transliterationPairs[ch] || ch + }); }; })();