From 2aebb622a009941644a74d28b00f50b1838cc21e Mon Sep 17 00:00:00 2001 From: Kurt Garloff Date: Wed, 26 Nov 2025 16:20:11 +0100 Subject: [PATCH] Try to avoid matching double space in tables. This fixes the markdownlint rule. Signed-off-by: Kurt Garloff --- .markdownlint-cli2.jsonc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.markdownlint-cli2.jsonc b/.markdownlint-cli2.jsonc index eb066754bf..a3753a7327 100644 --- a/.markdownlint-cli2.jsonc +++ b/.markdownlint-cli2.jsonc @@ -44,8 +44,8 @@ { "name": "double-spaces", "message": "Avoid double spaces", - "searchPattern": "/([^\\s>]) ([^\\s|])/g", - "replace": "$1 $2", + "searchPattern": "/^([^|].*)([^\\s>]) ([^\\s|])/g", + "replace": "$1 $2 $3", "skipCode": true } ]