cmark

Unnamed repository; edit this file 'description' to name the repository.

commit 6ba6d3374bf168a9a7fa106ad8428da96024d16f
parent 21d0d2dc4e48459b7e6aa4b8eb8711e8ec453d67
Author: John MacFarlane <jgm@berkeley.edu>
Date:   Sat, 11 Jul 2015 15:13:36 -0700

Updated spec.

Diffstat:
Mtest/spec.txt | 18+++++++++++++++++-
1 file changed, 17 insertions(+), 1 deletion(-)
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:
 
 .