mirror of
https://github.com/sismics/docs.git
synced 2024-11-25 23:27:57 +01:00
escape ngTranslate parameters
This commit is contained in:
parent
d98c1bddec
commit
4951229576
@ -424,7 +424,7 @@ angular.module('docs',
|
|||||||
|
|
||||||
// Configuring Angular Translate
|
// Configuring Angular Translate
|
||||||
$translateProvider
|
$translateProvider
|
||||||
.useSanitizeValueStrategy(null)
|
.useSanitizeValueStrategy('escapeParameters')
|
||||||
.useStaticFilesLoader({
|
.useStaticFilesLoader({
|
||||||
prefix: 'locale/',
|
prefix: 'locale/',
|
||||||
suffix: '.json?@build.date@'
|
suffix: '.json?@build.date@'
|
||||||
|
@ -56,7 +56,7 @@ angular.module('share',
|
|||||||
|
|
||||||
// Configuring Angular Translate
|
// Configuring Angular Translate
|
||||||
$translateProvider
|
$translateProvider
|
||||||
.useSanitizeValueStrategy(null)
|
.useSanitizeValueStrategy('escapeParameters')
|
||||||
.useStaticFilesLoader({
|
.useStaticFilesLoader({
|
||||||
prefix: 'locale/',
|
prefix: 'locale/',
|
||||||
suffix: '.json?@build.date@'
|
suffix: '.json?@build.date@'
|
||||||
|
Loading…
Reference in New Issue
Block a user