Skip to content

Commit

Permalink
Merge pull request #65 from rwjblue/fix-valueless-attribute-issue
Browse files Browse the repository at this point in the history
Ensure attrs following valueless attrs start at the correct col.
  • Loading branch information
rwjblue committed Sep 7, 2018
2 parents ca59c4b + 03c8742 commit 0393b90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/evented-tokenizer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -333,9 +333,9 @@ export default class EventedTokenizer {
} else {
this.delegate.beginAttributeValue(false);
this.delegate.finishAttributeValue();
this.consume();
this.transitionTo(TokenizerState.attributeName);
this.delegate.beginAttribute();
this.consume();
this.delegate.appendToAttributeName(char);
}
},
Expand Down

0 comments on commit 0393b90

Please sign in to comment.