gpt4 book ai didi

javascript - [$sce :iequirks] Strict Contextual Escaping does not support Internet Explorer version < 9 in quirks mode

转载 作者:搜寻专家 更新时间:2023-11-01 04:46:36 24 4
gpt4 key购买 nike

将 AngularJS 从 1.0.7 升级到 1.2.0rc1 后,出现以下错误:

[$sce:iequirks] Strict Contextual Escaping does not support Internet Explorer version < 9 in quirks mode
  • 我已经添加了<!doctype html>但无济于事。
  • 我还需要支持 IE7(呜咽)。

最佳答案

来自github issue与此问题相关 - $sce 在标准模式下支持 IE7。

The minimum bar for $sce is IE8 in standards mode. IE7 standards mode is not supported. If you must support IE7, you should disable $sce completely.

禁用$sce:

angular.module('ie7support', []).config(function($sceProvider) {
// Completely disable SCE to support IE7.
$sceProvider.enabled(false);
});

关于javascript - [$sce :iequirks] Strict Contextual Escaping does not support Internet Explorer version < 9 in quirks mode,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18506458/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com