addyosmani / addyosmani/prism-js

"language" attribute causes exception in IE11

未关闭
#9 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
HTML
星标
146
派生
15
PR 合并指标
30 天内没有已合并 PR

描述

This is a bug connected with https://github.com/Polymer/polymer/issues/466 (perhaps better to wait for Polymer's team response in that ticket)

Would you consider renaming this attribute? Other than that it seems to work fine in IE11.

I tried different names: `language`, `lang`, `syntax`... All of them fail for reason described in https://github.com/Polymer/polymer/issues/466

I was lucky renaming it to `highlight`, but that's quite far from the purpose of this attribute.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。