AngularJS - Filter HTML character references -


I have a set of JSON responses / results that I display front-end.

Some of these HTML character codes are included, for example:

  & lt; B & gt; Some text & lt; / B & gt;  

Rather than using ngSanitize, can I create a custom filter that changes HTML tags?

Then it will be displayed as above:

some text


Comments

Popular posts from this blog

sqlite3 - UPDATE a table from the SELECT of another one -

c# - Showing a SelectedItem's Property -

javascript - Render HTML after each iteration in loop -