blob: 027822fe4a87595addd1dc986b5999a2bbc556e5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
<!doctype html> this is html5<br>
? expect ?<br>
�x3f; should fail<br>
&#}; should fail<br>
? expect ?<br>
? should fail<br>
&#-10; should fail<br>
� should fail<br>
 should fail<br>
 should fail<br>
” error but workaround to "<br>
 should fail<br>
􃀀 should be something<br>
� should fail<br>
� should fail<br>
Ж cyrillic Zh<br>
<br>
& ampersand<br>
<a href="../index.html%3Fq&copy=3&.html">link</a> check attrs<br>
(w)≫⃒(w) expands to 6 bytes; would've broken under the old in-place substitution<br>
⟨ ⟩ are different in html4 and html5 (look the same)<br>
& should fail<br>
&---; I left the strchr(":_.-", *s) alone. It's probably not exactly correct for html5.<br>
& & & bare ampersands<br>
' expect '<br>
&asdfghjkl; unrecognized<br>
|