diff --git a/markup/lexer.go b/markup/lexer.go index dab1aaf..d2002b0 100644 --- a/markup/lexer.go +++ b/markup/lexer.go @@ -91,9 +91,12 @@ func geminiLineToAST(line string, state *GemLexerState, ast *[]Line) { } if "" == strings.TrimSpace(line) { - if state.where == "list" || state.where == "number" { + if state.where == "list" { state.where = "" addLine(state.buf + "") + } else if state.where == "number" { + state.where = "" + addLine(state.buf + "") } return }