cd2nroff: remove backticks from titles

This commit is contained in:
Daniel Stenberg 2024-02-19 10:56:38 +01:00
parent b4df2c9fe8
commit 50f65b4ef3
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -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 =~ / /) {