a post-component library for building user-interfaces on the web.

lexer: oops typo (#129)

authored by tombl.dev and committed by

GitHub 4a115bd4 5a4811f7

+1 -1
+1 -1
src/shared/lexer.ts
··· 105 105 break 106 106 107 107 case AFTER_ATTR_NAME: // https://html.spec.whatwg.org/multipage/parsing.html#after-attribute-name-state 108 - if (c === '\t' || c === '\n' || c === '\f' || c === ' ' || c === '/') { 108 + if (c === '\t' || c === '\n' || c === '\f' || c === ' ') { 109 109 } else if (c === '/') state = SELF_CLOSING_START_TAG 110 110 else if (c === '=') state = BEFORE_ATTR_VALUE 111 111 else if (c === '>') state = DATA