@@ -18,10 +18,10 @@ var formFeed = '\f'
1818
1919var whitespace = [ space , tab , lineFeed , carriageReturn , formFeed ]
2020
21- // https://html.spec.whatwg.org/#attribute-name-state
21+ // See: < https://html.spec.whatwg.org/#attribute-name-state>.
2222var name = whitespace . concat ( ampersand , slash , greaterThan , equalsTo )
2323
24- // https://html.spec.whatwg.org/#attribute-value-(unquoted)-state
24+ // See: < https://html.spec.whatwg.org/#attribute-value-(unquoted)-state>.
2525var unquoted = whitespace . concat ( ampersand , greaterThan )
2626var unquotedSafe = unquoted . concat (
2727 nil ,
@@ -32,13 +32,14 @@ var unquotedSafe = unquoted.concat(
3232 graveAccent
3333)
3434
35- // https://html.spec.whatwg.org/#attribute-value-(single-quoted)-state
35+ // See: < https://html.spec.whatwg.org/#attribute-value-(single-quoted)-state>.
3636var singleQuoted = [ ampersand , apostrophe ]
3737
38- // https://html.spec.whatwg.org/#attribute-value-(double-quoted)-state
38+ // See: < https://html.spec.whatwg.org/#attribute-value-(double-quoted)-state>.
3939var doubleQuoted = [ ampersand , quotationMark ]
4040
41- // Maps of subsets. Each value is a matrix of tuples.
41+ // Maps of subsets.
42+ // Each value is a matrix of tuples.
4243// The first value causes parse errors, the second is valid.
4344// Of both values, the first value is unsafe, and the second is safe.
4445module . exports = {
0 commit comments