tanoku/redcarpet — Issue #67: Not every list contains parapgraphs
Author: mbelow
Created: 2011-10-25 11:41:38+00:00
State: open

I am using markdown in a nanoc-based website. For a tag cloud I do:

'''' erb

<% $weighted_tags.each do |tag,weight| %>
">
<%= link_to(tag, "/tag/#{tag}/") %>

<% end %>

'''

RDiscount renders this as a "small" list, the items don't contain paragraphs. Redcarpet does something like

tag

which destroys the cloud layout.

As far as I can see, putting paragraphs into list items is valid, but not the default, see
http://www.w3.org/TR/html5/grouping-content.html#the-ul-element

It would be nice if Redcarpet had a solution for this.