managen: fix removing backticks from subtitles

It erroneously removed them from the wrong variable.

Closes #14081
This commit is contained in:
Daniel Stenberg
2024-07-01 23:35:58 +02:00
parent 80769b9c9e
commit 9784f9acf3

View File

@@ -317,7 +317,7 @@ sub render {
$word =~ s/[\"\'](.*)[\"\']\z/$1/;
# remove backticks from headers
$words =~ s/\`//g;
$word =~ s/\`//g;
# if there is a space, it needs quotes for man page
if(($word =~ / /) && $manpage) {