diff options
| author | Anhgelus Morhtuuzh <william@herges.fr> | 2025-12-13 18:11:04 +0100 |
|---|---|---|
| committer | Anhgelus Morhtuuzh <william@herges.fr> | 2025-12-13 18:11:04 +0100 |
| commit | 48311424ba2eaac254864c008b6d18e8510f827d (patch) | |
| tree | dbf20dca933996cf253fe2d110d8381b0c407b2d /markdown/ast_paragraph.go | |
| parent | aea07c141b3a2448ea367ad80ad5e12d04a78df7 (diff) | |
style(markdown): rename header into heading
Diffstat (limited to 'markdown/ast_paragraph.go')
| -rw-r--r-- | markdown/ast_paragraph.go | 2 |
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 { |
