aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ng/sce.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ng/sce.js b/src/ng/sce.js
index 60356097..68b97f61 100644
--- a/src/ng/sce.js
+++ b/src/ng/sce.js
@@ -620,7 +620,7 @@ function $SceProvider() {
// the "expression(javascript expression)" syntax which is insecure.
if (enabled && msie) {
var documentMode = $document[0].documentMode;
- if (documentMode !== undefined && documentMode < 8) {
+ if (documentMode !== undefined && documentMode < 7) {
throw $sceMinErr('iequirks',
'Strict Contextual Escaping does not support Internet Explorer version < 9 in quirks ' +
'mode. You can fix this by adding the text <!doctype html> to the top of your HTML ' +