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