aboutsummaryrefslogtreecommitdiffstats
path: root/docs/content/error/sce/iequirks.ngdoc
diff options
context:
space:
mode:
authorIgor Minar2013-08-08 11:23:17 -0700
committerIgor Minar2013-08-08 11:23:17 -0700
commitc7953ffb7fff1965c9a8d1651c451368e1474496 (patch)
treeb5f8d8d86a79283cc95e860e44c62eff0f57ca8e /docs/content/error/sce/iequirks.ngdoc
parent40d351712ed8bd211fb1eae9211440b280b2f2c0 (diff)
downloadangular.js-c7953ffb7fff1965c9a8d1651c451368e1474496.tar.bz2
docs(minErr): improve sce/iequirks doc
Diffstat (limited to 'docs/content/error/sce/iequirks.ngdoc')
-rw-r--r--docs/content/error/sce/iequirks.ngdoc21
1 files changed, 10 insertions, 11 deletions
diff --git a/docs/content/error/sce/iequirks.ngdoc b/docs/content/error/sce/iequirks.ngdoc
index be873344..c5da20ee 100644
--- a/docs/content/error/sce/iequirks.ngdoc
+++ b/docs/content/error/sce/iequirks.ngdoc
@@ -1,16 +1,15 @@
@ngdoc error
@name $sce:iequirks
-@fullName IE8 in quirks mode is unsupported.
+@fullName IE8 in quirks mode is unsupported
@description
-You are using AngularJS with {@link api/ng.$sce#strictcontextualescaping Strict Contextual Escaping
-(SCE)} mode enabled (the default) on IE8 or lower in quirks mode. In this mode, IE8 allows one to
-execute arbitrary javascript by the use of the `expression()` syntax and is not supported. Refer
-{@link http://blogs.msdn.com/b/ie/archive/2008/10/16/ending-expressions.aspx MSDN Blogs > IEBlog >
-Ending Expressions} to learn more about them.
-### Recommended solution
-Add the doctype
+This error occurs when you are using AngularJS with {@link api/ng.$sce#strictcontextualescaping Strict Contextual Escaping (SCE)} mode enabled (the default) on IE8 or lower in quirks mode.
- <!doctype html>
-
-to the top of your HTML document. This switches the document from quirks mode to standards mode.
+In this mode, IE8 allows one to execute arbitrary javascript by the use of the `expression()` syntax and is not supported.
+Refer {@link http://blogs.msdn.com/b/ie/archive/2008/10/16/ending-expressions.aspx MSDN Blogs > IEBlog > Ending Expressions} to learn more about them.
+
+To resolve this error please specify the proper doctype at the top of your main html document:
+
+```
+<!doctype html>
+```