jonschlinkert / sublime-markdown-extended

Top 100 Sublime Text plugin! Markdown syntax highlighter for Sublime Text, with extended support for GFM fenced code blocks, with language-specific syntax highlighting. YAML Front Matter. Works with ST2/ST3. Goes great with Assemble.
https://github.com/jonschlinkert
MIT License
659 stars 96 forks source link

Markdown breaks if you use raw HTML #83

Closed ghost closed 9 years ago

ghost commented 9 years ago

I sometimes use raw HTML in markdown as it's totally valid syntax and sometimes it's just useful. But look at what Markdown Extended did to my markdown when I tried HTML as usual.

untitled

The code after the </img> tag should be correctly parsed as Markdown Extended usually does.

jonschlinkert commented 9 years ago

The img element doesn't allow a close tag. Could that be the cause?

ghost commented 9 years ago

There was a missing </p> tag as well. Me Fail. Thanks.