tanoku/redcarpet — Issue #107: Assertion failed: (buf && buf->unit), function bufput, file buffer.c, line 155.
Author: darkphnx
Created: 2012-02-03 15:11:59+00:00
State: open

Found a problem when processing a string with a value enclosed in square brackets, followed by a colon, followed by two new lines. It can be simply reproduced using the following code:

Redcarpet::Markdown.new(Redcarpet::Render::HTML).render("[foo]:\n\n")

I've reproduced this error in both v2.0.1 and v2.1.0