From 076b687537188b4fab45db3624b4210d982a87b8 Mon Sep 17 00:00:00 2001 From: Erwan Bousse Date: Tue, 6 Aug 2024 14:13:07 +0200 Subject: [PATCH] syntax: allow spaces after table delimiter. fix #894 (#895) --- syntaxes/Asciidoctor.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/syntaxes/Asciidoctor.json b/syntaxes/Asciidoctor.json index f23cd2a3..2b5dfff4 100644 --- a/syntaxes/Asciidoctor.json +++ b/syntaxes/Asciidoctor.json @@ -1974,7 +1974,7 @@ "patterns": [ { "name": "markup.table.asciidoc", - "begin": "^(\\|===)$", + "begin": "^(\\|===)\\s*$", "beginCaptures": { "0": { "name": "markup.table.delimiter.asciidoc" @@ -1998,7 +1998,7 @@ "include": "#tables-includes" } ], - "end": "^(\\1)$", + "end": "^(\\1)\\s*$", "endCaptures": { "0": { "name": "markup.table.delimiter.asciidoc"