We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If a constant string with inner attributes having " is used, ng-bind-html directive is not handled correctly.
For example, we want to translate this:
<div class="footer-right">Created with <i class="ion-heart"></i></div>
We change it to:
<div class="footer-right" ng-bind-html="'Created with <i class="ion-heart"></i>' | translate"></div>
However this creates a json like:
{ "Created with <i class="ion-heart"></i>": "Created with <i class="ion-heart"></i>" }
Since attribute " is not handled properly, angular-translate cries with:
Translation for Created with <i class="ion-heart"></i> doesn't exist
The text was updated successfully, but these errors were encountered:
I have a small fix, creating a PR now.
Sorry, something went wrong.
No branches or pull requests
If a constant string with inner attributes having " is used,
ng-bind-html directive is not handled correctly.
For example, we want to translate this:
We change it to:
However this creates a json like:
Since attribute " is not handled properly, angular-translate cries with:
The text was updated successfully, but these errors were encountered: