From 2650af49c3d92d558966c1081111046d95b920a1 Mon Sep 17 00:00:00 2001 From: Kmaschta Date: Wed, 28 Sep 2016 13:42:53 +0200 Subject: [PATCH] Unescaped translation Disable default HTML escape from angular-translate Fix #1214 --- src/javascripts/ng-admin/Main/config/translate.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/javascripts/ng-admin/Main/config/translate.js b/src/javascripts/ng-admin/Main/config/translate.js index 6e9d4aea..656697b9 100644 --- a/src/javascripts/ng-admin/Main/config/translate.js +++ b/src/javascripts/ng-admin/Main/config/translate.js @@ -42,7 +42,7 @@ export default function translate($translateProvider) { 'NOT_FOUND_DETAILS': 'The page you are looking for cannot be found. Take a break before trying again.', }); $translateProvider.preferredLanguage('en'); - $translateProvider.useSanitizeValueStrategy('sanitize'); + $translateProvider.useSanitizeValueStrategy(null); } translate.$inject = ['$translateProvider'];