diff --git a/present/parse.go b/present/parse.go index 449d5ed5c9..034a83cb30 100644 --- a/present/parse.go +++ b/present/parse.go @@ -362,6 +362,7 @@ func parseSections(ctx *Context, name string, lines *Lines, number []int, doc *D var l []string for ok && strings.TrimSpace(text) != "" { if text[0] == '.' { // Command breaks text block. + lines.back() break } if strings.HasPrefix(text, `\.`) { // Backslash escapes initial period.