addyosmani / prism-js

A Polymer element for syntax highlighting with Prism.js
149 stars 15 forks source link

"language" attribute causes exception in IE11 #9

Open warpech opened 10 years ago

warpech commented 10 years ago

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.

addyosmani commented 10 years ago

I do want to get this fixed for IE11. I know this issue was opened up a few months ago, but if we opted for highlight, is that something that also works in other versions of IE (e.g IE10?)