Angular ng Translate non-breaking space  

Viewed 979

Hi is there any way to translate with non-breaking space (' ') I have tried with this

 es.json:
    " example": " ejemplo";
    
In my component I have this:
<ex-component
description = "{{ ('&nbsp;example' | translate) }} > 

but it is not working

1 Answers

As Tătar pointed out in his comment, using \u00a0 will works, but please note that there is no semi-colon (;) at the end.

Related