summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/gomarkdown/markdown/parser/matter.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/gomarkdown/markdown/parser/matter.go')
-rw-r--r--vendor/github.com/gomarkdown/markdown/parser/matter.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/github.com/gomarkdown/markdown/parser/matter.go b/vendor/github.com/gomarkdown/markdown/parser/matter.go
index 92686357..df284237 100644
--- a/vendor/github.com/gomarkdown/markdown/parser/matter.go
+++ b/vendor/github.com/gomarkdown/markdown/parser/matter.go
@@ -29,8 +29,8 @@ func (p *Parser) documentMatter(data []byte) int {
return 0
}
node := &ast.DocumentMatter{Matter: matter}
- p.addBlock(node)
- p.finalize(node)
+ p.AddBlock(node)
+ p.Finalize(node)
return consumed
}