better support for well-formed XHTML

This commit is contained in:
Fred Drake 2003-08-05 03:48:29 +00:00
parent 2fc88a62d4
commit e0c1740bc5
1 changed files with 4 additions and 4 deletions

View File

@ -45,10 +45,10 @@ sub do_env_macrodesc{
my $params = ltx_process_params(ltx_next_argument());
return "\n<dl class='macrodesc'>"
. "\n<dt><b><tt class='macro'>&#92;$macro</tt></b>"
. "\n $params"
. "\n $params</dt>"
. "\n<dd>"
. $_
. "</dl>";
. '</dd></dl>';
}
sub do_env_envdesc{
@ -58,10 +58,10 @@ sub do_env_envdesc{
return "\n<dl class='envdesc'>"
. "\n<dt><tt>&#92;begin{<b class='environment'>$env</b>}</tt>"
. "\n $params"
. "\n<br /><tt>&#92;end{<b class='environment'>$env</b>}</tt>"
. "\n<br /><tt>&#92;end{<b class='environment'>$env</b>}</tt></dt>"
. "\n<dd>"
. $_
. "</dl>";
. '</dd></dl>';
}
1; # Must end with this, because Perl is bogus.