jbt / markdown-editor

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

Use of <br/> within the editor messes up syntax highlighting #43

Closed iamjasonp closed 8 years ago

iamjasonp commented 8 years ago

Repro:

  1. Create a new document using the markdown-editor
  2. Insert <br/> somewhere in the document editor

Expected:

Actual:

Note that this does not affect the rendering, just the syntax highlighting.

Thanks!

jakob-stoeck commented 8 years ago

In fact any HTML code breaks the syntax highlighting. The CodeMirror markdown mode works, though: https://codemirror.net/mode/markdown/ Duplicate of #39

iamjasonp commented 8 years ago

Closing as dupe of #39.