]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
Fix man output for "%COMPAT" in docstrings.
authorSimon Josefsson <simon@josefsson.org>
Mon, 11 May 2009 15:42:46 +0000 (17:42 +0200)
committerSimon Josefsson <simon@josefsson.org>
Mon, 11 May 2009 15:42:46 +0000 (17:42 +0200)
doc/scripts/gdoc

index 82d9e0af1bd412aa8b4592a02d86768ff9c4124a..f7d64c98daac5c4ac844c4fb6948e8ab44bc68ef 100755 (executable)
@@ -633,7 +633,10 @@ sub output_man {
        print ".SH \"" . uc($section) . "\"\n";
        $sec = $args{'sections'}{$section};
        $sec =~ s/-/\\-/g;
-       output_highlight($sec);
+       $sec =~ s/"%/__gdoc_quotepercent_hack__/g;
+       $sec = just_highlight ($sec);
+       $sec =~ s/__gdoc_quotepercent_hack__/"%/g;
+       print $sec;
     }
 
     if ($args{'bugsto'}) {