docs(error): added description for ngSanitize/badparse.ngdoc

Closes #3438
This commit is contained in:
naomiblack 2013-08-01 17:34:42 -07:00 committed by Igor Minar
parent e38bf59aab
commit 88037ad688

View file

@ -1,4 +1,11 @@
@ngdoc error
@name ngSanitize:badparse
@fullName Parsing Error
@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.