- Commit
- 6ba6d3374bf168a9a7fa106ad8428da96024d16f
- Parent
- 21d0d2dc4e48459b7e6aa4b8eb8711e8ec453d67
- Author
- John MacFarlane <jgm@berkeley.edu>
- Date
Updated spec.
My personal build of CMark ✏️
Updated spec.
1 file changed, 17 insertions, 1 deletion
Status | File Name | N° Changes | Insertions | Deletions |
Modified | test/spec.txt | 18 | 17 | 1 |
diff --git 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: .