summaryrefslogtreecommitdiffstats
path: root/Doc/perl
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2003-08-05 03:48:29 (GMT)
committerFred Drake <fdrake@acm.org>2003-08-05 03:48:29 (GMT)
commite0c1740bc5cbc36ae5d05b87aa0358f5b1082c96 (patch)
treea13f11f13eed8547efe1a597a61e0b224b6d05fa /Doc/perl
parent2fc88a62d46bbd1ae3fcb2cc4606cc955eee336f (diff)
downloadcpython-e0c1740bc5cbc36ae5d05b87aa0358f5b1082c96.zip
cpython-e0c1740bc5cbc36ae5d05b87aa0358f5b1082c96.tar.gz
cpython-e0c1740bc5cbc36ae5d05b87aa0358f5b1082c96.tar.bz2
better support for well-formed XHTML
Diffstat (limited to 'Doc/perl')
-rw-r--r--Doc/perl/ltxmarkup.perl8
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/perl/ltxmarkup.perl b/Doc/perl/ltxmarkup.perl
index 290e79b..1a0f7e1 100644
--- a/Doc/perl/ltxmarkup.perl
+++ b/Doc/perl/ltxmarkup.perl
@@ -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.