blob: f5acb3e8d0015369332f542b2336eb5952f04909 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
note:
┌─ test.html:3:17
│
3 │ Here is a tag: <strong >very cool</strong>
│ ^^^^^^ ^^^^^^ EndTag
│ │
│ StartTag
4 │
5 │ Tags can have attributes: <div id = foo >...</div>
│ ^^ ^^^ attribute value
│ │
│ attribute name
6 │
7 │ Attribute values can be quoted: <input name = 'age' type = "number">
│ ^^^ ^^^^^^ in double quotes
│ │
│ in single quotes
8 │
9 │ This is malformed < test
│ ^ unexpected character: saw ' ' in state TagOpen
10 │
11 │ Characters can be escaped but don't forget the semicolon: ¶
│ ^ semicolon missing after character reference
|