diff options
| author | 2025-04-28 11:20:24 +0000 | |
|---|---|---|
| committer | 2025-05-05 12:02:26 +0200 | |
| commit | 293053f58c350e088a32d677c45ea88ba6f6f98f (patch) | |
| tree | ca814f8a166f52005671313fe45cda6fbea07f7b /vendor/github.com/yuin/goldmark/parser | |
| parent | [chore] Update build to use new woodpecker dind container, bump version numbe... (diff) | |
| download | gotosocial-293053f58c350e088a32d677c45ea88ba6f6f98f.tar.xz | |
bump dependencies: minio-go, go-sqlite3, goldmark, otel, x/image/webp (#4075)
Reviewed-on: https://codeberg.org/superseriousbusiness/gotosocial/pulls/4075
Co-authored-by: kim <grufwub@gmail.com>
Co-committed-by: kim <grufwub@gmail.com>
Diffstat (limited to 'vendor/github.com/yuin/goldmark/parser')
| -rw-r--r-- | vendor/github.com/yuin/goldmark/parser/parser.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/github.com/yuin/goldmark/parser/parser.go b/vendor/github.com/yuin/goldmark/parser/parser.go index b05db1356..7ec40b31a 100644 --- a/vendor/github.com/yuin/goldmark/parser/parser.go +++ b/vendor/github.com/yuin/goldmark/parser/parser.go @@ -1096,7 +1096,7 @@ func (p *parser) parseBlocks(parent ast.Node, reader text.Reader, pc Context) { // When current node is a container block and has no children, // we try to open new child nodes if state&HasChildren != 0 && i == lastIndex { - isBlank = isBlankLine(lineNum-1, i, blankLines) + isBlank = isBlankLine(lineNum-1, i+1, blankLines) p.openBlocks(be.Node, isBlank, reader, pc) break } |
