alphagov/govspeak — pull request #26 by tommyp (2014-06-19 13:49:37+00:00)
Title: Fix for lists parsing incorrectly

When omitting a new line before certain list extensions, the markdown parser has difficulty deciding where to close the tags and was rendering out the ol opening and closing tag as text inside a

if there wasn't a newline after the text. This commit only parses it if it's at the start of a document or with two new lines preceding it.