aboutsummaryrefslogtreecommitdiffstats
path: root/docs/content/error/sanitize/badparse.ngdoc
blob: d07c6d62a4036fad4c9f6aade9fe3dc8275568a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
@ngdoc error
@name $sanitize:badparse
@fullName Parsing Error while Sanitizing
@description

This error occurs when the HTML string passed to '$sanitize' can't be parsed by the sanitizer.
The error contains part of the html string that can't be parsed.

The parser is more strict than a typical browser parser, so it's possible that some obscure input would produce this error despite the string being recognized as valid HTML by a browser.

If a valid html code results in this error, please file a bug.