diff --git a/markup/lexer.go b/markup/lexer.go index 607393f..fbd87fc 100644 --- a/markup/lexer.go +++ b/markup/lexer.go @@ -235,7 +235,7 @@ normalState: case startsWith("<="): addParagraphIfNeeded() addLine(parseTransclusion(line, state.name)) - case line == "----": + case line[:4] == "----": addParagraphIfNeeded() *ast = append(*ast, Line{id: -1, contents: "
"}) case MatchesImg(line):