mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-01 06:12:25 -05:00
[chore]: Bump github.com/tdewolff/minify/v2 from 2.20.37 to 2.21.0 (#3468)
Bumps [github.com/tdewolff/minify/v2](https://github.com/tdewolff/minify) from 2.20.37 to 2.21.0. - [Release notes](https://github.com/tdewolff/minify/releases) - [Commits](https://github.com/tdewolff/minify/compare/v2.20.37...v2.21.0) --- updated-dependencies: - dependency-name: github.com/tdewolff/minify/v2 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
parent
ea1bf5f8a3
commit
f301ec65f1
8 changed files with 414 additions and 14 deletions
2
vendor/github.com/tdewolff/parse/v2/html/lex.go
generated
vendored
2
vendor/github.com/tdewolff/parse/v2/html/lex.go
generated
vendored
|
|
@ -362,7 +362,7 @@ func (l *Lexer) shiftBogusComment() []byte {
|
|||
|
||||
func (l *Lexer) shiftStartTag() (TokenType, []byte) {
|
||||
for {
|
||||
if c := l.r.Peek(0); c == ' ' || c == '>' || c == '/' && l.r.Peek(1) == '>' || c == '\t' || c == '\n' || c == '\r' || c == '\f' || c == 0 && l.r.Err() != nil {
|
||||
if c := l.r.Peek(0); (c < 'a' || 'z' < c) && (c < 'A' || 'Z' < c) && (c < '0' || '9' < c) && c != '-' {
|
||||
break
|
||||
}
|
||||
l.r.Move(1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue