mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-29 05:15:38 +08:00
docs(error): added description for ngSanitize/badparse.ngdoc
Closes #3438
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user