Fix inclusion of paragraphs into list for markdown