mirror of
https://github.com/yuin/goldmark
synced 2025-03-04 23:04:52 +00:00
Fixes #71
This commit is contained in:
parent
e4108d55a4
commit
923eb97048
1 changed files with 2 additions and 1 deletions
|
|
@ -999,8 +999,9 @@ type lineStat struct {
|
|||
}
|
||||
|
||||
func isBlankLine(lineNum, level int, stats []lineStat) bool {
|
||||
ret := false
|
||||
ret := true
|
||||
for i := len(stats) - 1 - level; i >= 0; i-- {
|
||||
ret = false
|
||||
s := stats[i]
|
||||
if s.lineNum == lineNum {
|
||||
if s.level < level && s.isBlank {
|
||||
|
|
|
|||
Loading…
Reference in a new issue