Skip to content

Commit

Permalink
Fixes #71
Browse files Browse the repository at this point in the history
  • Loading branch information
yuin committed Dec 22, 2019
1 parent e4108d5 commit 923eb97
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion parser/parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 923eb97

Please sign in to comment.