Skip to content

Commit 76c59f0

Browse files
committed
Fix #25 unquoted attributes
1 parent ccf7997 commit 76c59f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ module.exports = function (h, opts) {
201201
state = ATTR_VALUE
202202
i--
203203
} else if (state === ATTR_VALUE && /\s/.test(c)) {
204-
res.push([ATTR_BREAK],[ATTR_VALUE,reg])
204+
res.push([ATTR_VALUE,reg],[ATTR_BREAK])
205205
reg = ''
206206
state = ATTR
207207
} else if (state === ATTR_VALUE || state === ATTR_VALUE_SQ

0 commit comments

Comments
 (0)