mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-14 20:33:59 +02:00
parser/pageparser: Fix Org Mode summary delimiter assignment
Closes #13152
This commit is contained in:
committed by
Bjørn Erik Pedersen
parent
744b8566ec
commit
48dd6a918a
@@ -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 {
|
||||
|
Reference in New Issue
Block a user