aboutsummaryrefslogtreecommitdiffstats
path: root/docs/content/error/$sanitize/badparse.ngdoc
diff options
context:
space:
mode:
Diffstat (limited to 'docs/content/error/$sanitize/badparse.ngdoc')
-rw-r--r--docs/content/error/$sanitize/badparse.ngdoc11
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/content/error/$sanitize/badparse.ngdoc b/docs/content/error/$sanitize/badparse.ngdoc
new file mode 100644
index 00000000..d07c6d62
--- /dev/null
+++ b/docs/content/error/$sanitize/badparse.ngdoc
@@ -0,0 +1,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.