If I put <a href="#/home" title="ètées"> then output is <a
href="#/home" title="ètées">
And if I put <a href="#/home" title="{{'TEXT' | translate}}"> then output
is <a href="#/home" title="ètées">
So it seems that it's really a problem with AngularJS and / or the
translate module.
Le mercredi 29 octobre 2014 00:14:33 UTC-5, Anton Trapp a écrit :
>
> Tried to put the UTF-8 characters into the title? Apart from double quotes
> and ampersands everything should work just fine if the file is UTF-8 and
> the browser accepts it (
>
> <meta http-equiv="Content-type" content="text/html; charset=utf-8">).
>
>
> Am Dienstag, 28. Oktober 2014 03:00:16 UTC+1 schrieb Cim balli:
>>
>> Hi, I have a problem with HTML entities in the title attribute of an
>> anchor element.
>>
>> Here is the snippet :
>> <a href="#/home" ng-attr-title="{{'TEXT' | translate}}">
>>
>> The output is :
>>
>> <a href="#/home" ng-attr-title="{{'TEXT' | translate}}"
>> title="ètées">
>>
>>
>> And the translation is :
>>
>> 'TEXT' : 'ètées'
>>
>>
>> What should I do in order for the browser to display the real characters and
>> not the entities ?
>>
>>
>> Thanks !
>>
>>
>> Cimballi
>>
>>
>>
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.