summaryrefslogtreecommitdiffstats
path: root/parser/pageparser/pagelexer.go
diff options
context:
space:
mode:
Diffstat (limited to 'parser/pageparser/pagelexer.go')
-rw-r--r--parser/pageparser/pagelexer.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/parser/pageparser/pagelexer.go b/parser/pageparser/pagelexer.go
index c360642c4..266fb50f5 100644
--- a/parser/pageparser/pagelexer.go
+++ b/parser/pageparser/pagelexer.go
@@ -426,7 +426,7 @@ func lexMainSection(l *pageLexer) stateFunc {
}
if l.isInHTMLComment {
- return lexEndFromtMatterHTMLComment
+ return lexEndFrontMatterHTMLComment
}
// Fast forward as far as possible.