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.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/markdown/ast_paragraph.go b/markdown/ast_paragraph.go
index b945741..eddba0a 100644
--- a/markdown/ast_paragraph.go
+++ b/markdown/ast_paragraph.go
@@ -53,7 +53,7 @@ func paragraph(lxs *lexers, oneLine bool) (*astParagraph, *ParseError) {
return tree, nil
}
tree.content = append(tree.content, astLiteral(lxs.Current().Value))
- case lexerLiteral, lexerHeader:
+ case lexerLiteral, lexerHeading:
s := lxs.Current().Value
// replace line break by space
if n > 0 && len(tree.content) != 0 {