angular-gettext icon indicating copy to clipboard operation
angular-gettext copied to clipboard

interpolation fails when original string has an ampersand

Open egamonal opened this issue 10 years ago • 1 comments

using a fork of the codepen in #211 I tested strings with ampersands, for example for html entities. it basically ignores the translation

related to #178 but checks that < >work at least for a simple case

http://codepen.io/anon/pen/zGXGMN

markup

<p translate>Nothing here&hellip;</p>

the catalog:

gettextCatalog.setStrings("nl", {
      "Nothing here": "Niets hier",
      "yet": "nog",
      "Nothing here&hellip;": "Niets hier",
});

egamonal avatar Aug 12 '15 09:08 egamonal

Looks like duplicate

Ohar avatar Nov 18 '15 08:11 Ohar