summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-07-11 15:13:36 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2015-07-11 15:13:36 -0700
commit6ba6d3374bf168a9a7fa106ad8428da96024d16f (patch)
tree28c26c9d9cb830b4c0d1e821a7eb8bfd65525bcb /test
parent21d0d2dc4e48459b7e6aa4b8eb8711e8ec453d67 (diff)
Updated spec.
Diffstat (limited to 'test')
-rw-r--r--test/spec.txt18
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:
.