From: Daniel Stenberg Date: Mon, 19 Feb 2024 09:56:38 +0000 (+0100) Subject: cd2nroff: remove backticks from titles X-Git-Tag: curl-8_7_0~168 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=50f65b4ef336b1589688aaa6e01a40f1711353d7;p=thirdparty%2Fcurl.git cd2nroff: remove backticks from titles --- diff --git a/scripts/cd2nroff b/scripts/cd2nroff index decaeca0a8..02460cc9da 100755 --- a/scripts/cd2nroff +++ b/scripts/cd2nroff @@ -266,7 +266,7 @@ sub single { if(/^## (.*)/) { my $word = $1; # if there are enclosing quotes, remove them first - $word =~ s/[\"\'](.*)[\"\']\z/$1/; + $word =~ s/[\"\'\`](.*)[\"\'\`]\z/$1/; # enclose in double quotes if there is a space present if($word =~ / /) {