aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTitus <tituswormer@gmail.com>2019-10-31 16:15:52 +0100
committerJohn MacFarlane <jgm@berkeley.edu>2019-10-31 08:15:52 -0700
commitdf9d8cd1fbf6da26ca7b57f394e850b53507efb1 (patch)
tree0964055ed85f4483ac8ee696a400637d5e427f92
parent38433c2762e9c40e9e3f5936b914af2257608db4 (diff)
Remove superfluous restrictions on declarations (#621)
HTML declarations need not be limited to all capital ASCII letters. Closes #620.
-rw-r--r--spec.txt8
1 files changed, 3 insertions, 5 deletions
diff --git a/spec.txt b/spec.txt
index 50a660f..e83a45f 100644
--- a/spec.txt
+++ b/spec.txt
@@ -2389,7 +2389,7 @@ need not match the start tag).
**End condition:** line contains the string `?>`.
4. **Start condition:** line begins with the string `<!`
-followed by an uppercase ASCII letter.\
+followed by an ASCII letter.\
**End condition:** line contains the character `>`.
5. **Start condition:** line begins with the string
@@ -8947,10 +8947,8 @@ consists of the string `<?`, a string
of characters not including the string `?>`, and the string
`?>`.
-A [declaration](@) consists of the
-string `<!`, a name consisting of one or more uppercase ASCII letters,
-[whitespace], a string of characters not including the
-character `>`, and the character `>`.
+A [declaration](@) consists of the string `<!`, an ASCII letter, zero or more
+characters not including the character `>`, and the character `>`.
A [CDATA section](@) consists of
the string `<![CDATA[`, a string of characters not including the string