@@ -18,10 +18,10 @@ var formFeed = '\f'
18
18
19
19
var whitespace = [ space , tab , lineFeed , carriageReturn , formFeed ]
20
20
21
- // https://html.spec.whatwg.org/#attribute-name-state
21
+ // See: < https://html.spec.whatwg.org/#attribute-name-state>.
22
22
var name = whitespace . concat ( ampersand , slash , greaterThan , equalsTo )
23
23
24
- // https://html.spec.whatwg.org/#attribute-value-(unquoted)-state
24
+ // See: < https://html.spec.whatwg.org/#attribute-value-(unquoted)-state>.
25
25
var unquoted = whitespace . concat ( ampersand , greaterThan )
26
26
var unquotedSafe = unquoted . concat (
27
27
nil ,
@@ -32,13 +32,14 @@ var unquotedSafe = unquoted.concat(
32
32
graveAccent
33
33
)
34
34
35
- // https://html.spec.whatwg.org/#attribute-value-(single-quoted)-state
35
+ // See: < https://html.spec.whatwg.org/#attribute-value-(single-quoted)-state>.
36
36
var singleQuoted = [ ampersand , apostrophe ]
37
37
38
- // https://html.spec.whatwg.org/#attribute-value-(double-quoted)-state
38
+ // See: < https://html.spec.whatwg.org/#attribute-value-(double-quoted)-state>.
39
39
var doubleQuoted = [ ampersand , quotationMark ]
40
40
41
- // Maps of subsets. Each value is a matrix of tuples.
41
+ // Maps of subsets.
42
+ // Each value is a matrix of tuples.
42
43
// The first value causes parse errors, the second is valid.
43
44
// Of both values, the first value is unsafe, and the second is safe.
44
45
module . exports = {
0 commit comments