escape ngTranslate parameters

This commit is contained in:
bgamard 2021-11-16 20:01:36 +01:00
parent d98c1bddec
commit 4951229576
2 changed files with 2 additions and 2 deletions

View File

@ -424,7 +424,7 @@ angular.module('docs',
// Configuring Angular Translate
$translateProvider
.useSanitizeValueStrategy(null)
.useSanitizeValueStrategy('escapeParameters')
.useStaticFilesLoader({
prefix: 'locale/',
suffix: '.json?@build.date@'

View File

@ -56,7 +56,7 @@ angular.module('share',
// Configuring Angular Translate
$translateProvider
.useSanitizeValueStrategy(null)
.useSanitizeValueStrategy('escapeParameters')
.useStaticFilesLoader({
prefix: 'locale/',
suffix: '.json?@build.date@'