aboutsummaryrefslogtreecommitdiff
path: root/mardown/ast_paragraph.go
diff options
context:
space:
mode:
authorAnhgelus Morhtuuzh <william@herges.fr>2025-09-30 21:00:51 +0200
committerAnhgelus Morhtuuzh <william@herges.fr>2025-09-30 21:00:51 +0200
commit3d3ccdec245b5a5d1c1f01d0b6972959332c882e (patch)
treeef4e94c4711590ff85bc326bbed848740ef14584 /mardown/ast_paragraph.go
parente20acb05fd33b8fbcfafee4b72734224093c2d20 (diff)
fix(markdown): wrong return in lexer next
Diffstat (limited to 'mardown/ast_paragraph.go')
-rw-r--r--mardown/ast_paragraph.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/mardown/ast_paragraph.go b/mardown/ast_paragraph.go
index 3c8f985..24b7057 100644
--- a/mardown/ast_paragraph.go
+++ b/mardown/ast_paragraph.go
@@ -31,7 +31,7 @@ func (a *astParagraph) Eval() (template.HTML, error) {
return template.HTML(fmt.Sprintf("<p>%s</p>", content)), nil
}
-func paragraph(lxs lexers, oneLine bool) (*astParagraph, error) {
+func paragraph(lxs *lexers, oneLine bool) (*astParagraph, error) {
tree := new(astParagraph)
tree.oneLine = oneLine
maxBreak := 2