diff options
-rw-r--r-- | test/spec.txt | 22 |
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 |