evilstreak / markdown-js

A Markdown parser for javascript
7.69k stars 863 forks source link

IE9 doesn't support addressing characters as array indices #86

Closed geraintluff closed 11 years ago

geraintluff commented 11 years ago

I don't know about other versions, but my version of IE9 doesn't support string characters using array indices.

Replaced "text[...]" with "text.charAt(...)" which fixed the issue for me.

evilstreak commented 11 years ago

Thanks for this.