cleancmd.pl: remove markdown links before spellcheck

Closes #21085
This commit is contained in:
Daniel Stenberg 2026-03-24 15:51:15 +01:00
parent 0c14ed62c4
commit 970f0a8cec
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -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);