]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
managen: only output .RE for manpage output
authorDaniel Stenberg <daniel@haxx.se>
Wed, 26 Jun 2024 08:47:16 +0000 (10:47 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 26 Jun 2024 13:49:26 +0000 (15:49 +0200)
For ascii they are just rubbish.

Closes #14025

scripts/managen

index b032b3c21430778c9753494f5d5c937dc507309d..f384f8953e66551df20cab638a2a8970a35475dc 100755 (executable)
@@ -348,7 +348,7 @@ sub render {
             }
             if($tablemode) {
                 # end of table
-                push @desc, ".RE\n.IP\n";
+                push @desc, ".RE\n.IP\n" if($manpage);
                 $tablemode = 0;
             }
             $header = 1;