You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 29, 2024. It is now read-only.
Both the translate filter and translate directive should give the same output: &
Actual behaviour
Translate filter encodes into HTML entity: &
The documentation states:
"Currently there is an issue with the sanitize mode, it will double encode UTF-8 characters or special characters. Recommendation: use the 'escape' strategy, until this is resolved."
Am I reading the documentation wrong?
The text was updated successfully, but these errors were encountered:
It looks like your environment is using an old or older release of AngularJS and/or angular-translate. After updating your dependencies, please check and verify your issue again.
Subject of the issue
If a translation has an ampersand & in it, it is rendered as "&" when the key is translated with the filter.
Your environment
Steps to reproduce
https://plnkr.co/edit/OUEIxqAaAK5iYaeL0A74?p=preview
Expected behaviour
Both the translate filter and translate directive should give the same output: &
Actual behaviour
Translate filter encodes into HTML entity: &
The documentation states:
"Currently there is an issue with the sanitize mode, it will double encode UTF-8 characters or special characters. Recommendation: use the 'escape' strategy, until this is resolved."
Am I reading the documentation wrong?
The text was updated successfully, but these errors were encountered: