diff options
| -rw-r--r-- | www/js/app.js | 2 | ||||
| -rwxr-xr-x | www/lang/checklang.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/www/js/app.js b/www/js/app.js index 32ebb9b9..1dd383f1 100644 --- a/www/js/app.js +++ b/www/js/app.js @@ -1280,7 +1280,7 @@ angular.module('zmApp', [ //$translateProvider.determinePreferredLanguage(); //$translateProvider.preferredLanguage("en"); $translateProvider.fallbackLanguage("en"); - $translateProvider.useSanitizeValueStrategy('sanitize'); + $translateProvider.useSanitizeValueStrategy('escape'); $stateProvider .state('app', { diff --git a/www/lang/checklang.py b/www/lang/checklang.py index 86596bdd..d83193c0 100755 --- a/www/lang/checklang.py +++ b/www/lang/checklang.py @@ -36,7 +36,7 @@ def beautify(fi,ki): pretty.append(line) pFh=open (prefix+fi,"w") pFh.write("{\n") - pFh.write(',\n'.join(pretty)) + pFh.write(',\n'.join(pretty).encode('utf-8')) pFh.write("\n}\n") pFh.close() |
