Remove erroneous unescape from {lang} in WCF.Template
authorTim Düsterhus <duesterhus@woltlab.com>
Sat, 10 Jan 2015 02:16:34 +0000 (03:16 +0100)
committerTim Düsterhus <duesterhus@woltlab.com>
Sat, 10 Jan 2015 02:18:47 +0000 (03:18 +0100)
wcfsetup/install/files/js/WCF.js

index f2bd13212e1e30f2d99ee87c9094e0661e153a23..ba609a7baf0742d9c2d7686487d1ce8447acf64f 100755 (executable)
@@ -4651,7 +4651,7 @@ WCF.Template = Class.extend({
                })
                // {lang}foo{/lang}
                .replace(/\{lang\}(.+?)\{\/lang\}/g, function(_, content) {
-                       return "' + WCF.Language.get('" + unescape(content) + "', v) + '";
+                       return "' + WCF.Language.get('" + content + "', v) + '";
                })
                // {include}
                .replace(/\{include (.+?)\}/g, function(_, content) {