[kramdown-users] possible bug: kramdown wrapping <br> in <p>

Thomas Leitner t_leitner at gmx.at
Thu Aug 12 05:52:39 EDT 2010

On 2010-08-11 20:26 +0700 Shawn Van Ittersum wrote:
> I thought that there was a requirement for a blank line before all
> paragraphs?  This is clearly a contiguous block of HTML, and kramdown
> should leave HTML alone, as Markdown does.

No, there is no such requirement. The only requirement is that there is
at least one blank line *between* two consecutive paragraphs.
> Matt, what does Markdown do when parsing this input?

It does the same, it wraps the `<br />` tag in a paragraph.

-- Thomas

More information about the kramdown-users mailing list