Skip to content

Commit

Permalink
Spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
Aguado, Eduardo committed Mar 22, 2024
1 parent 1ae3478 commit e8b68ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/owasp/html/HtmlLexer.java
Original file line number Diff line number Diff line change
Expand Up @@ -659,7 +659,7 @@ && canonicalElementName(start + 2, end)
if ('>' == ch) { // <!--> is a valid html comment
state = State.DONE;
type = HtmlTokenType.COMMENT;
} else if('-' == ch) { // <!---> is a valid html comment
} else if ('-' == ch) { // <!---> is a valid html comment
state = State.COMMENT_DASH_AFTER_BANG;
} else {
state = State.COMMENT;
Expand Down

0 comments on commit e8b68ef

Please sign in to comment.