From a1291bf5d9b1215d9d5eb9c2dd4c946e2a243e0d Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sat, 11 Jul 2015 08:33:17 -0700 Subject: Clarified that HTML block is closed at end of containing block. Not just end of the document. (Parallel to fenced code blocks.) --- spec.txt | 43 +++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 41 insertions(+), 2 deletions(-) (limited to 'spec.txt') diff --git a/spec.txt b/spec.txt index bf8674a..49086f8 100644 --- a/spec.txt +++ b/spec.txt @@ -1348,7 +1348,8 @@ aaa . -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 . +. +> ``` +> aaa + +bbb +. +
+
aaa
+
+
+

bbb

+. + 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]): .