mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-08 09:53:10 +02:00
vendor: update github.com/yuin/goldmark to v1.1.24 (#10551)
This commit is contained in:
1 parent
14f3593f20
commit
f9d34b2c60
4 files changed
+9
-5
No files matched your search
+5
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user