summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-07-11 08:34:07 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2015-07-11 08:34:07 -0700
commit0978e3eb42cd5e67e31f19796975f5dc524344ba (patch)
treee188538308564dfe84e8930708afff3c1b876c0f /test
parentc210285ad91e3aeaf75e36e53785d49e5e275bff (diff)
Updated spec.txt.
Diffstat (limited to 'test')
-rw-r--r--test/spec.txt43
1 files changed, 41 insertions, 2 deletions
diff --git a/test/spec.txt b/test/spec.txt
index bf8674a..49086f8 100644
--- 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:
.