diff options
author | Robin Stocker <robin@nibor.org> | 2016-04-04 16:27:51 +1000 |
---|---|---|
committer | Robin Stocker <robin@nibor.org> | 2016-04-05 11:27:00 +1000 |
commit | a337b59ec29b60bb0eaca269ae96f61c422865ae (patch) | |
tree | ad8b3243d34e3bc793396efdf03a41349fd0c73d | |
parent | 69f680f01216a87051b020d6706766c7eff52bc2 (diff) |
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.
-rw-r--r-- | spec.txt | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -4080,6 +4080,18 @@ Here are some list items that start with a blank line but are not empty: </ul> ```````````````````````````````` +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 +. +<ul> +<li>foo</li> +</ul> +```````````````````````````````` + A list item can begin with at most one blank line. In the following example, `foo` is not part of the list |