From 4951229576d6892dc58ab8c572e73639ca82d80c Mon Sep 17 00:00:00 2001 From: bgamard Date: Tue, 16 Nov 2021 20:01:36 +0100 Subject: [PATCH] escape ngTranslate parameters --- docs-web/src/main/webapp/src/app/docs/app.js | 2 +- docs-web/src/main/webapp/src/app/share/app.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs-web/src/main/webapp/src/app/docs/app.js b/docs-web/src/main/webapp/src/app/docs/app.js index 6eff1971..0b6aa2a7 100644 --- a/docs-web/src/main/webapp/src/app/docs/app.js +++ b/docs-web/src/main/webapp/src/app/docs/app.js @@ -424,7 +424,7 @@ angular.module('docs', // Configuring Angular Translate $translateProvider - .useSanitizeValueStrategy(null) + .useSanitizeValueStrategy('escapeParameters') .useStaticFilesLoader({ prefix: 'locale/', suffix: '.json?@build.date@' diff --git a/docs-web/src/main/webapp/src/app/share/app.js b/docs-web/src/main/webapp/src/app/share/app.js index 3eda2d02..446e7e74 100644 --- a/docs-web/src/main/webapp/src/app/share/app.js +++ b/docs-web/src/main/webapp/src/app/share/app.js @@ -56,7 +56,7 @@ angular.module('share', // Configuring Angular Translate $translateProvider - .useSanitizeValueStrategy(null) + .useSanitizeValueStrategy('escapeParameters') .useStaticFilesLoader({ prefix: 'locale/', suffix: '.json?@build.date@'