jbt / markdown-editor

Live (Github-flavored) Markdown Editor
http://jbt.github.com/markdown-editor
ISC License
2.83k stars 644 forks source link

Inline style attribute rendered correctly but not in GitHub #24

Closed Vdragon closed 9 years ago

Vdragon commented 9 years ago

GitHub sanitizes all inline style attributes but it still renders correctly in Markdown Editor, not sure if it's really a issue of this project since I really like it that way :-)

jbt commented 9 years ago

My personal feeling on this is that it's not an issue in the scope of this project. GitHub themselves pass markdown through quite a complicated HTML sanitization pipeline (and remove <script> tags for example), whereas the idea of this project is to just be a straight pass-through markdown parser (and the actual markdown spec doesn't include any HTML sanitization or anything). Would you be ok if I closed this then?

Vdragon commented 9 years ago

I'm fine with that.