Unmatched open brackets break markup

(Jens Maier) #1

There appears to be a bug in processing (malformed) bbCode-style markup. A dangling open bracket results in parser state being dumped verbatim into the post instead of translated to HTML:

[ http://www.google.com, code, bold :smiley:

(Sam Saffron) #2

@eviltrout you may want to have a look at this

(Vikhyat Korrapati) #3

This is a smaller test-case, in case it helps:

[[][] → [[][]

Unmatched open brackets still break markup
(Robin Ward) #4

Thanks! I’ve fixed it in master and submitted it upstream to markdown-js.

(Jeff Atwood) #5