summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-01-16 21:51:12 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2015-01-16 21:51:39 -0800
commit15865e2f6b912e81536142bb408b5d698e4d898f (patch)
tree44eb1acc4eac5031159c4b3aab3719f5a60e4995
parentcc6bb4bd3cf241835cd31066bc06d005684459ac (diff)
Added spec example: loose list with blank line after fenced code.
See #285. cmark currently fails this.
-rw-r--r--spec.txt19
1 files changed, 19 insertions, 0 deletions
diff --git a/spec.txt b/spec.txt
index 42a0aca..6df9078 100644
--- a/spec.txt
+++ b/spec.txt
@@ -3957,6 +3957,25 @@ A single-paragraph list is tight:
</ul>
.
+This list is loose, because of the blank line between the
+two block elements in the list item:
+
+.
+1. ```
+ foo
+ ```
+
+ bar
+.
+<ol>
+<li>
+<pre><code>foo
+</code></pre>
+<p>bar</p>
+</li>
+</ol>
+.
+
Here the outer list is loose, the inner list tight:
.