From: Simon Josefsson Date: Mon, 11 May 2009 15:42:46 +0000 (+0200) Subject: Fix man output for "%COMPAT" in docstrings. X-Git-Tag: gnutls_2_7_9~9 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d10f1872bcbf7eb63632a8ce2e50728f42bd03fa;p=thirdparty%2Fgnutls.git Fix man output for "%COMPAT" in docstrings. --- diff --git a/doc/scripts/gdoc b/doc/scripts/gdoc index 82d9e0af1b..f7d64c98da 100755 --- a/doc/scripts/gdoc +++ b/doc/scripts/gdoc @@ -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'}) {