diff options
| author | 2025-04-22 12:32:39 +0200 | |
|---|---|---|
| committer | 2025-04-22 12:32:39 +0200 | |
| commit | f170bbcd49411f9828b0ee55b16da9a1b698a2c2 (patch) | |
| tree | 45e164846126bb8697892b918a75af05a65272e6 /vendor/github.com/yuin/goldmark/parser | |
| parent | [chore/frontend] Reorder JS a little bit to avoid visible text changes (#4039) (diff) | |
| download | gotosocial-f170bbcd49411f9828b0ee55b16da9a1b698a2c2.tar.xz | |
[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>
Diffstat (limited to 'vendor/github.com/yuin/goldmark/parser')
| -rw-r--r-- | vendor/github.com/yuin/goldmark/parser/delimiter.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/github.com/yuin/goldmark/parser/delimiter.go b/vendor/github.com/yuin/goldmark/parser/delimiter.go index d097e3fb3..93b32dee0 100644 --- a/vendor/github.com/yuin/goldmark/parser/delimiter.go +++ b/vendor/github.com/yuin/goldmark/parser/delimiter.go @@ -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) |
