Skip to content

Commit

Permalink
fix: disallow spaces after open waka
Browse files Browse the repository at this point in the history
  • Loading branch information
lddubeau committed Jul 6, 2018
1 parent f2de520 commit da7f76d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/saxes.js
Original file line number Diff line number Diff line change
Expand Up @@ -326,9 +326,6 @@ class SAXParser {
this.state = S_OPEN_WAKA_BANG;
this.openWakaBang = "";
}
else if (isWhitespace(c)) {
// wait for it...
}
else if (isMatch(NAME_START_CHAR, c)) {
this.state = S_OPEN_TAG;
this.tagName = c;
Expand Down

0 comments on commit da7f76d

Please sign in to comment.