summaryrefslogtreecommitdiff
path: root/spec.txt
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-01-03 18:51:47 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2015-01-03 18:51:47 -0800
commit1e789d0f2036d3d891232a0bced0a5009fb5ec03 (patch)
tree100577049b68f142f24371663c57f87047d57da7 /spec.txt
parentfc75787ce3b927595eb7a5fd324e8bc0ad3c74a1 (diff)
spec: Added examples of non-comments.
See #264.
Diffstat (limited to 'spec.txt')
-rw-r--r--spec.txt14
1 files changed, 14 insertions, 0 deletions
diff --git a/spec.txt b/spec.txt
index fa7e6a7..368a9f1 100644
--- a/spec.txt
+++ b/spec.txt
@@ -1615,6 +1615,20 @@ bar
baz -->
.
+Not comments:
+
+.
+<!--> foo -->
+
+<!-- foo--bar -->
+
+<!-- foo--->
+.
+<p>&lt;!--&gt; foo --&gt;</p>
+<p>&lt;!-- foo--bar --&gt;</p>
+<p>&lt;!-- foo---&gt;</p>
+.
+
A processing instruction:
.