From a337b59ec29b60bb0eaca269ae96f61c422865ae Mon Sep 17 00:00:00 2001 From: Robin Stocker Date: Mon, 4 Apr 2016 16:27:51 +1000 Subject: Add example for list item starting with a blank line with spaces After implementing the changes for the 0.25 spec, all the spec tests were green. But I noticed that my code also counted the spaces on the first line and required the subsequent lines to be indented accordingly. This example catches that possible bug. --- spec.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/spec.txt b/spec.txt index 1a4a7dc..bdaed43 100644 --- a/spec.txt +++ b/spec.txt @@ -4080,6 +4080,18 @@ Here are some list items that start with a blank line but are not empty: ```````````````````````````````` +When the list item starts with a blank line, the number of spaces +following the list marker doesn't change the required indentation: + +```````````````````````````````` example +- + foo +. + +```````````````````````````````` + A list item can begin with at most one blank line. In the following example, `foo` is not part of the list -- cgit v1.2.3