vendor: update github.com/yuin/goldmark to v1.1.24 (#10551)
This commit is contained in:
parent
14f3593f20
commit
f9d34b2c60
4 changed files with 9 additions and 5 deletions
6
vendor/github.com/yuin/goldmark/text/reader.go
generated
vendored
6
vendor/github.com/yuin/goldmark/text/reader.go
generated
vendored
|
@ -332,7 +332,11 @@ func (r *blockReader) PrecendingCharacter() rune {
|
|||
if r.pos.Padding != 0 {
|
||||
return rune(' ')
|
||||
}
|
||||
if r.pos.Start <= 0 {
|
||||
if r.segments.Len() < 1 {
|
||||
return rune('\n')
|
||||
}
|
||||
firstSegment := r.segments.At(0)
|
||||
if r.line == 0 && r.pos.Start <= firstSegment.Start {
|
||||
return rune('\n')
|
||||
}
|
||||
l := len(r.source)
|
||||
|
|
2
vendor/modules.txt
vendored
2
vendor/modules.txt
vendored
|
@ -450,7 +450,7 @@ github.com/willf/bitset
|
|||
github.com/xanzy/ssh-agent
|
||||
# github.com/yohcop/openid-go v0.0.0-20160914080427-2c050d2dae53
|
||||
github.com/yohcop/openid-go
|
||||
# github.com/yuin/goldmark v1.1.23
|
||||
# github.com/yuin/goldmark v1.1.24
|
||||
github.com/yuin/goldmark
|
||||
github.com/yuin/goldmark/ast
|
||||
github.com/yuin/goldmark/extension
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue