diff options
-rw-r--r-- | test/spec.txt | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/test/spec.txt b/test/spec.txt index f25439b..0f62a54 100644 --- a/test/spec.txt +++ b/test/spec.txt @@ -7498,7 +7498,8 @@ so custom tags (and even, say, DocBook tags) may be used. Here is the grammar for tags: A [tag name](@tag-name) consists of an ASCII letter -followed by zero or more ASCII letters or digits. +followed by zero or more ASCII letters, digits, or +hyphens (`-`). An [attribute](@attribute) consists of [whitespace], an [attribute name], and an optional @@ -7596,6 +7597,21 @@ _boolean zoop:33=zoop:33 /> _boolean zoop:33=zoop:33 /></p> . +Custom tag names can be used: + +. +<responsive-image src="foo.jpg" /> + +<My-Tag> +foo +</My-Tag> +. +<responsive-image src="foo.jpg" /> +<My-Tag> +foo +</My-Tag> +. + Illegal tag names, not parsed as HTML: . |