1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-06 10:37:20 +00:00

Update Goldmark v1.1.25 -> v1.1.32 (#12048)

This commit is contained in:
6543
2020-06-25 04:43:18 +02:00
committed by GitHub
parent c86478ec47
commit 9ef2f62a79
10 changed files with 85 additions and 26 deletions

View File

@ -191,7 +191,7 @@ func (b *listParser) Continue(node ast.Node, reader text.Reader, pc Context) Sta
isHeading := false
last := pc.LastOpenedBlock().Node
if ast.IsParagraph(last) {
c, ok := matchesSetextHeadingBar(line)
c, ok := matchesSetextHeadingBar(line[match[3]-1:])
if ok && c == '-' {
isHeading = true
}