summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-07-25 22:06:21 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2015-07-25 22:06:21 -0700
commitef1f7f5870782471d12fdd784a15ea71cb267348 (patch)
tree65fb9965b828b86fd1ed336691e52b5c969a5d1f /test
parentd16cc15572d97c5360d66332ea56b9c6ec295f7f (diff)
Updated test/spec.txt.
Diffstat (limited to 'test')
-rw-r--r--test/spec.txt22
1 files changed, 19 insertions, 3 deletions
diff --git a/test/spec.txt b/test/spec.txt
index 3aa4ee4..2a9b061 100644
--- a/test/spec.txt
+++ b/test/spec.txt
@@ -1658,9 +1658,9 @@ by [whitespace], the end of the line, the string `>`, or
the string `/>`.\
**End condition:** line is followed by a [blank line].
-7. **Start condition:** line begins with an [open tag]
-(with any [tag name]) followed only by [whitespace] or the end
-of the line.\
+7. **Start condition:** line begins with a complete [open tag]
+or [closing tag] (with any [tag name]) followed only by [whitespace]
+or the end of the line.\
**End condition:** line is followed by a [blank line].
All types of [HTML blocks] except type 7 may interrupt
@@ -1865,6 +1865,22 @@ In type 7 blocks, the [tag name] can be anything:
</i>
.
+.
+<mytag>
+*bar*
+
+*bar*
+
+</mytag>
+*bar*
+.
+<mytag>
+*bar*
+<p><em>bar</em></p>
+</mytag>
+*bar*
+.
+
These rules are designed to allow us to work with tags that
can function as either block-level or inline-level tags.
The `<del>` tag is a nice example. We can surround content with