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;