[chore]: Bump github.com/yuin/goldmark from 1.6.0 to 1.7.0 (#2603)

This commit is contained in:
dependabot[bot]
2024-02-05 09:50:35 +00:00
committed by GitHub
parent 8692cc1f36
commit a482cb59f2
10 changed files with 62 additions and 61 deletions

View File

@ -808,7 +808,7 @@ func IsPunct(c byte) bool {
// IsPunctRune returns true if the given rune is a punctuation, otherwise false.
func IsPunctRune(r rune) bool {
return int32(r) <= 256 && IsPunct(byte(r)) || unicode.IsPunct(r)
return unicode.IsSymbol(r) || unicode.IsPunct(r)
}
// IsSpace returns true if the given character is a space, otherwise false.