What is the correct way to make an unsafe bind to an attribute? In my case, I get undesired HTML entities in the title-attribute:
<a href="..." title="Something "goes bad"">Link</a>
(Angular 1.1.5)
What is the correct way to make an unsafe bind to an attribute? In my case, I get undesired HTML entities in the title-attribute:
<a href="..." title="Something "goes bad"">Link</a>
(Angular 1.1.5)
" is how " is escaped in HTML (and XML) attributes, there's no way around it. It will display correctly on the page, however. Attribute contents aren't parsed as HTML so there's no need for an equivalent to bind-html-unsafe.