From 970f0a8cecd982cb646a9897642e274cd87ab498 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 24 Mar 2026 15:51:15 +0100 Subject: [PATCH] cleancmd.pl: remove markdown links before spellcheck Closes #21085 --- .github/scripts/cleancmd.pl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/scripts/cleancmd.pl b/.github/scripts/cleancmd.pl index 06b38f1022..988d456204 100755 --- a/.github/scripts/cleancmd.pl +++ b/.github/scripts/cleancmd.pl @@ -102,6 +102,8 @@ sub process { # strip out https URLs, we do not want them spellchecked $l =~ s!https://[a-z0-9\#_/.-]+!!gi; + # strip links, both name and target + $l =~ s/(\[.*?\])\(.*?\)//g; $out .= $l; } close(F);