Module: wine Branch: refs/heads/master Commit: 2c5fee9c582ebb7d80ff0fc4f7fb516ca411f8d3 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=2c5fee9c582ebb7d80ff0fc4...
Author: Detlef Riekenberg wine.dev@web.de Date: Tue Dec 6 21:22:28 2005 +0100
c2man: Remove HTML warnings.
---
tools/c2man.pl | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/tools/c2man.pl b/tools/c2man.pl index 8d11d1c..7797e0c 100755 --- a/tools/c2man.pl +++ b/tools/c2man.pl @@ -1388,7 +1388,7 @@ sub output_api_section_start($$)
if ($opt_output_format eq "h") { - print OUTPUT "\n<p><h2 class="section">",$section_name,"</h2></p>\n"; + print OUTPUT "\n<h2 class="section">",$section_name,"</h2>\n"; } elsif ($opt_output_format eq "s") { @@ -1447,7 +1447,7 @@ sub output_api_synopsis($)
if ($opt_output_format eq "h") { - print OUTPUT "<p><pre class="proto">\n ", $comment->{RETURNS}," ",$comment->{COMMENT_NAME},"\n (\n"; + print OUTPUT "<pre class="proto">\n ", $comment->{RETURNS}," ",$comment->{COMMENT_NAME},"\n (\n"; @fmt = ("", "\n", "<tt class="param">", "</tt>"); } elsif ($opt_output_format eq "s") @@ -1502,7 +1502,7 @@ sub output_api_synopsis($)
if ($opt_output_format eq "h") { - print OUTPUT " )\n\n</pre></p>\n"; + print OUTPUT " )\n</pre>\n"; } elsif ($opt_output_format eq "s") {