Markdown bug??

John Gruber gruber at fedora.net
Fri Aug 20 19:38:02 EDT 2004


Joshua E Cook <markdown-discuss at blinkinglights.org> wrote on 08/20/04 at 6:20pm:

> Put the following text through the Markdown Web Dingus on your site and 
> examine the HTML output.  I get an extraneous <p> around "Trailing 
> paragraph."  The extra <p> also surrounds the close tags of </li></ul> 
> which were opened before "List header."

I can't reproduce this. When I try your example input, it works.


> As an aside, why does Markdown put a <p> around comments?

That's not deliberate, but it's not a bug, per se, either. Markdown
doesn't even attempt to recognize HTML comments. That's on the list
for 1.0.1.

-J.G.


More information about the Markdown-discuss mailing list