cmark

My personal build of CMark ✏️

Commit
0978e3eb42cd5e67e31f19796975f5dc524344ba
Parent
c210285ad91e3aeaf75e36e53785d49e5e275bff
Author
John MacFarlane <jgm@berkeley.edu>
Date

Updated spec.txt.

Diffstat

1 file changed, 41 insertions, 2 deletions

Status File Name N° Changes Insertions Deletions
Modified test/spec.txt 43 41 2
diff --git a/test/spec.txt b/test/spec.txt
@@ -1348,7 +1348,8 @@ aaa
 </code></pre>
 .
 
-Unclosed code blocks are closed by the end of the document:
+Unclosed code blocks are closed by the end of the document
+(or the enclosing [block quote] or [list item]):
 
 .
 ```
@@ -1368,6 +1369,19 @@ aaa
 </code></pre>
 .
 
+.
+> ```
+> aaa
+
+bbb
+.
+<blockquote>
+<pre><code>aaa
+</code></pre>
+</blockquote>
+<p>bbb</p>
+.
+
 A code block can have all empty lines as its content:
 
 .
@@ -1950,7 +1964,8 @@ p {color:blue;}
 .
 
 If there is no matching end tag, the block will end at the
-end of the document:
+end of the document (or the enclosing [block quote] or
+[list item]):
 
 .
 <style
@@ -1964,6 +1979,30 @@ foo
 foo
 .
 
+.
+> <div>
+> foo
+
+bar
+.
+<blockquote><div>
+foo
+</blockquote>
+<p>bar</p>
+.
+
+.
+- <div>
+- foo
+.
+<ul>
+<li>
+<div>
+</li>
+<li>foo</li>
+</ul>
+.
+
 The end tag can occur on the same line as the start tag:
 
 .