From 4f3a0ef90df891b491ad51944360ec21789b0146 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 1 Apr 2026 11:59:44 +0200 Subject: [PATCH] test1275.pl: ignore indented sections in markdowns They are special and should not be checked like this. Closes #21191 --- tests/test1275.pl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/test1275.pl b/tests/test1275.pl index e3f5802577..7aa059a29d 100755 --- a/tests/test1275.pl +++ b/tests/test1275.pl @@ -71,6 +71,11 @@ sub checkfile { $metadata = 0; next; } + if($line =~ /^ /) { + # leading 4-space; reset previous-line context and skip checks + $prevl = ''; + next; + } if($line =~ /^(\`\`\`|\~\~\~)/) { # start or stop ignore-mode $ignore ^= 1;