diff options
Diffstat (limited to 'parser/pageparser/pagelexer_intro.go')
-rw-r--r-- | parser/pageparser/pagelexer_intro.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/parser/pageparser/pagelexer_intro.go b/parser/pageparser/pagelexer_intro.go index 925c61c9e..334d9a79c 100644 --- a/parser/pageparser/pagelexer_intro.go +++ b/parser/pageparser/pagelexer_intro.go @@ -91,14 +91,14 @@ func lexFrontMatterOrgMode(l *pageLexer) stateFunc { #+DESCRIPTION: Just another golang parser for org content! */ - l.summaryDivider = summaryDividerOrg - l.backup() if !l.hasPrefix(delimOrg) { return lexMainSection } + l.summaryDivider = summaryDividerOrg + // Read lines until we no longer see a #+ prefix LOOP: for { |