[chore]: Bump github.com/tdewolff/minify/v2 from 2.19.10 to 2.20.0 (#2316)

Bumps [github.com/tdewolff/minify/v2](https://github.com/tdewolff/minify) from 2.19.10 to 2.20.0.
- [Release notes](https://github.com/tdewolff/minify/releases)
- [Commits](https://github.com/tdewolff/minify/compare/v2.19.10...v2.20.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:
dependabot[bot]
2023-10-30 11:06:51 +01:00
committed by GitHub
parent 9d11c716cc
commit 32e70ec83d
9 changed files with 204 additions and 143 deletions

View File

@ -449,7 +449,7 @@ func (l *Lexer) shiftXML(rawTag Hash) []byte {
}
} else if c == 0 {
if l.r.Err() == nil {
l.err = parse.NewErrorLexer(l.r, "HTML parse error: unexpected NULL character")
l.err = parse.NewErrorLexer(l.r, "unexpected NULL character")
}
return l.r.Shift()
} else {
@ -464,7 +464,7 @@ func (l *Lexer) shiftXML(rawTag Hash) []byte {
break
} else if c == 0 {
if l.r.Err() == nil {
l.err = parse.NewErrorLexer(l.r, "HTML parse error: unexpected NULL character")
l.err = parse.NewErrorLexer(l.r, "unexpected NULL character")
}
return l.r.Shift()
}