c2man: Remove HTML warnings.
This commit is contained in:
parent
18441ac027
commit
2c5fee9c58
|
@ -1388,7 +1388,7 @@ sub output_api_section_start($$)
|
||||||
|
|
||||||
if ($opt_output_format eq "h")
|
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")
|
elsif ($opt_output_format eq "s")
|
||||||
{
|
{
|
||||||
|
@ -1447,7 +1447,7 @@ sub output_api_synopsis($)
|
||||||
|
|
||||||
if ($opt_output_format eq "h")
|
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>");
|
@fmt = ("", "\n", "<tt class=\"param\">", "</tt>");
|
||||||
}
|
}
|
||||||
elsif ($opt_output_format eq "s")
|
elsif ($opt_output_format eq "s")
|
||||||
|
@ -1502,7 +1502,7 @@ sub output_api_synopsis($)
|
||||||
|
|
||||||
if ($opt_output_format eq "h")
|
if ($opt_output_format eq "h")
|
||||||
{
|
{
|
||||||
print OUTPUT " )\n\n</pre></p>\n";
|
print OUTPUT " )\n</pre>\n";
|
||||||
}
|
}
|
||||||
elsif ($opt_output_format eq "s")
|
elsif ($opt_output_format eq "s")
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue