From cceb40d0c021981e2aef0f11ab001c955d0dccc9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?William=20Herg=C3=A8s?= Date: Sun, 5 Oct 2025 15:59:18 +0200 Subject: fix(markdown): missing space after linebreak and link --- markdown/ast_paragraph.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'markdown/ast_paragraph.go') 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 } -- cgit v1.2.3