Skip to content

Commit

Permalink
Unescaped translation
Browse files Browse the repository at this point in the history
Disable default HTML escape from angular-translate

Fix #1214
  • Loading branch information
Kmaschta committed Sep 28, 2016
1 parent f35c2ce commit 2650af4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/javascripts/ng-admin/Main/config/translate.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'];

0 comments on commit 2650af4

Please sign in to comment.