diff --git a/src/catalog.js b/src/catalog.js old mode 100644 new mode 100755 index fbc3688..87b689e --- a/src/catalog.js +++ b/src/catalog.js @@ -210,6 +210,9 @@ angular.module('gettext').factory('gettextCatalog', function (gettextPlurals, ge if (!language) { return null; } + if (isHTMLModified) { + string = angular.element( '' + string + '' ).html() + } var stringTable = this.strings[language] || {}; var contexts = stringTable[string] || {}; var plurals = contexts[context || noContext] || [];