Skip to content

Commit

Permalink
managen: fix removing backticks from subtitles
Browse files Browse the repository at this point in the history
It erroneously removed them from the wrong variable.

Closes curl#14081
  • Loading branch information
bagder committed Jul 2, 2024
1 parent 80769b9 commit 9784f9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/managen
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 9784f9a

Please sign in to comment.