From 88037ad6889081112c594c284d072d0c984a6af1 Mon Sep 17 00:00:00 2001 From: naomiblack Date: Thu, 1 Aug 2013 17:34:42 -0700 Subject: docs(error): added description for ngSanitize/badparse.ngdoc Closes #3438 --- docs/content/error/ngSanitize/badparse.ngdoc | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'docs/content/error') diff --git a/docs/content/error/ngSanitize/badparse.ngdoc b/docs/content/error/ngSanitize/badparse.ngdoc index fd184e14..39ba20d7 100644 --- a/docs/content/error/ngSanitize/badparse.ngdoc +++ b/docs/content/error/ngSanitize/badparse.ngdoc @@ -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. -- cgit v1.2.3