aboutsummaryrefslogtreecommitdiff
path: root/markdown/ast_paragraph.go
diff options
context:
space:
mode:
Diffstat (limited to 'markdown/ast_paragraph.go')
-rw-r--r--markdown/ast_paragraph.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/markdown/ast_paragraph.go b/markdown/ast_paragraph.go
index ae1f657..ca5541f 100644
--- a/markdown/ast_paragraph.go
+++ b/markdown/ast_paragraph.go
@@ -87,9 +87,7 @@ func paragraph(lxs *lexers, oneLine bool) (*astParagraph, *ParseError) {
tree.content = append(tree.content, b)
}
}
- if !lxs.Finished() {
- lxs.Before() // because we never handle the last item
- }
+ lxs.Before() // because we never handle the last item
return tree, nil
}