diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-07-25 22:04:21 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-07-25 22:05:37 -0700 |
commit | fbcce82db415f8f24b81b0a57318c02287084ede (patch) | |
tree | a7a952c9288fa9ceea6af2d8c8dea5dc4d7ee166 | |
parent | e70a8222d05f33efe07881ea4102cf4952165eb7 (diff) |
Clarified that type 7 HTML blocks can start with a closing tag.
Closes #349.
-rw-r--r-- | spec.txt | 22 |
1 files changed, 19 insertions, 3 deletions
@@ -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 |