- Commit
- ef1f7f5870782471d12fdd784a15ea71cb267348
- Parent
- d16cc15572d97c5360d66332ea56b9c6ec295f7f
- Author
- John MacFarlane <jgm@berkeley.edu>
- Date
Updated test/spec.txt.
My personal build of CMark ✏️
Updated test/spec.txt.
1 file changed, 19 insertions, 3 deletions
Status | File Name | N° Changes | Insertions | Deletions |
Modified | test/spec.txt | 22 | 19 | 3 |
diff --git 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