]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
managen: fix removing backticks from subtitles
authorDaniel Stenberg <daniel@haxx.se>
Mon, 1 Jul 2024 21:35:58 +0000 (23:35 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 2 Jul 2024 05:47:49 +0000 (07:47 +0200)
It erroneously removed them from the wrong variable.

Closes #14081

scripts/managen

index c3a5616b1c8e7186ca50b46bb20152276e4a0ee5..fc30c4f91ff9d4bd4a50bb52c190146ad7d17a18 100755 (executable)
@@ -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) {