[chore]: Bump github.com/yuin/goldmark from 1.7.8 to 1.7.10 (#4037)

Bumps [github.com/yuin/goldmark](https://github.com/yuin/goldmark) from 1.7.8 to 1.7.10.
- [Release notes](https://github.com/yuin/goldmark/releases)
- [Commits](https://github.com/yuin/goldmark/compare/v1.7.8...v1.7.10)

---
updated-dependencies:
- dependency-name: github.com/yuin/goldmark
  dependency-version: 1.7.10
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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] 2025-04-22 12:32:39 +02:00 committed by GitHub
commit f170bbcd49
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 201 additions and 3832 deletions

View file

@ -111,7 +111,7 @@ func NewDelimiter(canOpen, canClose bool, length int, char byte, processor Delim
}
// ScanDelimiter scans a delimiter by given DelimiterProcessor.
func ScanDelimiter(line []byte, before rune, min int, processor DelimiterProcessor) *Delimiter {
func ScanDelimiter(line []byte, before rune, minimum int, processor DelimiterProcessor) *Delimiter {
i := 0
c := line[i]
j := i
@ -120,7 +120,7 @@ func ScanDelimiter(line []byte, before rune, min int, processor DelimiterProcess
}
for ; j < len(line) && c == line[j]; j++ {
}
if (j - i) >= min {
if (j - i) >= minimum {
after := rune(' ')
if j != len(line) {
after = util.ToRune(line, j)