marijnh/CodeMirror2 — pull request #734 by amireh (2012-08-19 00:44:01+00:00)
Title: Markdown mode links issue

Hi.

Thanks for CodeMirror2, it's a beast!

The issue: in the Markdown mode, the lexer/parser/tokenizer is incorrectly highlighting words that are enclosed in square brackets as hyperlinks even when they're not followed by `()`.

To reproduce simply type a word between `[square brackets]` and it will be highlighted as a link, and the lexer expects a continuation of the token (the `(href)` part).

Thanks!