mirror of
https://github.com/curl/curl.git
synced 2025-01-12 13:55:11 +08:00
cd2nroff: remove backticks from titles
This commit is contained in:
parent
b4df2c9fe8
commit
50f65b4ef3
@ -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 =~ / /) {
|
||||
|
Loading…
Reference in New Issue
Block a user