Skip to content

Commit b634819

Browse files
committed
Try to avoid matching double space in tables.
This fixes the markdownlint rule. Signed-off-by: Kurt Garloff <[email protected]>
1 parent 819538b commit b634819

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.markdownlint-cli2.jsonc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@
4444
{
4545
"name": "double-spaces",
4646
"message": "Avoid double spaces",
47-
"searchPattern": "/([^\\s>]) ([^\\s|])/g",
48-
"replace": "$1 $2",
47+
"searchPattern": "/^([^|].*)([^\\s>]) ([^\\s|])/g",
48+
"replace": "$1 $2 $3",
4949
"skipCode": true
5050
}
5151
]

0 commit comments

Comments
 (0)