Fix shortcode directly following a shortcode delimiter

Fixes #5402
This commit is contained in:
Bjørn Erik Pedersen
2018-11-05 13:30:16 +01:00
parent 5b1edd281a
commit d16a7a33ff
3 changed files with 20 additions and 3 deletions

View File

@@ -247,6 +247,9 @@ func lexMainSection(l *pageLexer) stateFunc {
// This makes it a little easier to reason about later.
l.consumeSpace()
l.emit(TypeLeadSummaryDivider)
// We have already moved to the next.
continue
}
}