diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-07-11 08:34:07 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-07-11 08:34:07 -0700 |
commit | 0978e3eb42cd5e67e31f19796975f5dc524344ba (patch) | |
tree | e188538308564dfe84e8930708afff3c1b876c0f /test | |
parent | c210285ad91e3aeaf75e36e53785d49e5e275bff (diff) |
Updated spec.txt.
Diffstat (limited to 'test')
-rw-r--r-- | test/spec.txt | 43 |
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: . |