summaryrefslogtreecommitdiff
path: root/vendor/github.com/yuin/goldmark/parser/setext_headings.go
diff options
context:
space:
mode:
authorLibravatar dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>2023-08-21 06:39:14 +0000
committerLibravatar GitHub <noreply@github.com>2023-08-21 06:39:14 +0000
commit36dceac56c467033648590dd7e6ea100e1f824a2 (patch)
tree54d1d6451c63785278ad5c1a6331a1d38fe2363e /vendor/github.com/yuin/goldmark/parser/setext_headings.go
parent[feature/bugfix] Probe S3 storage for CSP uri, add config flag for extra URIs... (diff)
downloadgotosocial-36dceac56c467033648590dd7e6ea100e1f824a2.tar.xz
[chore]: Bump github.com/yuin/goldmark from 1.5.5 to 1.5.6 (#2140)
Diffstat (limited to 'vendor/github.com/yuin/goldmark/parser/setext_headings.go')
-rw-r--r--vendor/github.com/yuin/goldmark/parser/setext_headings.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/github.com/yuin/goldmark/parser/setext_headings.go b/vendor/github.com/yuin/goldmark/parser/setext_headings.go
index 686efe179..915bcc124 100644
--- a/vendor/github.com/yuin/goldmark/parser/setext_headings.go
+++ b/vendor/github.com/yuin/goldmark/parser/setext_headings.go
@@ -91,7 +91,7 @@ func (b *setextHeadingParser) Close(node ast.Node, reader text.Reader, pc Contex
para.Lines().Append(segment)
heading.Parent().InsertAfter(heading.Parent(), heading, para)
} else {
- next.(ast.Node).Lines().Unshift(segment)
+ next.Lines().Unshift(segment)
}
heading.Parent().RemoveChild(heading.Parent(), heading)
} else {