Skip to content

Commit

Permalink
Ensure attrs following valueless attrs start at the correct col.
Browse files Browse the repository at this point in the history
Prior to this we would the next attribute with a location info that is
_after_ where it actually starts.
  • Loading branch information
rwjblue committed Sep 7, 2018
1 parent ca59c4b commit 03c8742
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 03c8742

Please sign in to comment.