mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-04-20 14:50:59 +00:00
docs(error): added description for ngSanitize/badparse.ngdoc
Closes #3438
This commit is contained in:
parent
e38bf59aab
commit
88037ad688
1 changed files with 8 additions and 1 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue