Skip to content

Commit

Permalink
linter happy
Browse files Browse the repository at this point in the history
  • Loading branch information
M4tteoP committed Jan 27, 2024
1 parent 85cc0d1 commit b60b118
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
11 changes: 6 additions & 5 deletions html5.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,12 @@ func (h *h5State) stateBogusComment2() bool {
// 12.2.4.49
// 12.2.4.50
// 12.2.4.51
// state machine spec is confusing since it can only look
// at one character at a time but simply it's comments end by:
// 1) EOF
// 2) ending in -->
// 3) ending in -!>
//
// state machine spec is confusing since it can only look
// at one character at a time but simply it's comments end by:
// 1) EOF
// 2) ending in -->
// 3) ending in -!>
func (h *h5State) stateComment() bool {
pos := h.pos

Expand Down
2 changes: 1 addition & 1 deletion sqli_token.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const (

// Look forward for doubling of delimiter
//
// case 'foo''bar' -> foo''bar
// case 'foo' 'bar' -> foo' 'bar
//
// ending quote is not duplicated (i.e. escaped)
// since it's the wrong or EOL
Expand Down

0 comments on commit b60b118

Please sign in to comment.