diff options
| author | William Hergès <william@herges.fr> | 2025-10-05 15:59:18 +0200 |
|---|---|---|
| committer | William Hergès <william@herges.fr> | 2025-10-05 15:59:18 +0200 |
| commit | cceb40d0c021981e2aef0f11ab001c955d0dccc9 (patch) | |
| tree | 9d770eeb1f5543579d8ec60c1ec2fb699f9843ce /markdown/ast_paragraph.go | |
| parent | bce210d75a4552c5b144a5760ace4950c198f046 (diff) | |
fix(markdown): missing space after linebreak and link
Diffstat (limited to 'markdown/ast_paragraph.go')
| -rw-r--r-- | markdown/ast_paragraph.go | 4 |
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 } |
