Hello Sander, Greetings! Resurfacing a old thread - We are seeing this issue in our implementation now - And i don't think we can replace < and > that's in the content (as along with the content, the bold <b> italic<i> tags all have this < and > and when we replace those bold/italics will not happen instead <b> is printed on the screen)
In our case content is like this and the below * < * is creating $sanitize:badparse exception and empty string/content is being rendered on the screen content : "<b>Test50 Welcome50</b><br><b>Steps Taken To Resolve</b><br><span><p> Auto approval for amount* < *100 dollars </p></span><br><b>Additional Comments</b><br><span><p>sample</p></span>" Can you please review and suggest a solution. Thanks, Chaitanya. On Tuesday, 21 January 2014 12:57:10 UTC, Sander Elias wrote: > > Hi Patrick, > > Well, your sting is not HTML-'safe', and can not be parsed. If you need to > include < and > in a string you want parsed, you have to escape those. > There are a few other things that needs escaping too, but those are the > most important ones. > you need to replave the < with < and the > with > > For a more complete list go here > <http://www.theukwebdesigncompany.com/articles/entity-escape-characters.php> > > Regards > Sander > -- You received this message because you are subscribed to the Google Groups "Angular" 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 https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
