diff options
author | Fred Drake <fdrake@acm.org> | 2003-08-05 03:48:29 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2003-08-05 03:48:29 (GMT) |
commit | e0c1740bc5cbc36ae5d05b87aa0358f5b1082c96 (patch) | |
tree | a13f11f13eed8547efe1a597a61e0b224b6d05fa /Doc/perl | |
parent | 2fc88a62d46bbd1ae3fcb2cc4606cc955eee336f (diff) | |
download | cpython-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.perl | 8 |
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'>\$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>\begin{<b class='environment'>$env</b>}</tt>" . "\n $params" - . "\n<br /><tt>\end{<b class='environment'>$env</b>}</tt>" + . "\n<br /><tt>\end{<b class='environment'>$env</b>}</tt></dt>" . "\n<dd>" . $_ - . "</dl>"; + . '</dd></dl>'; } 1; # Must end with this, because Perl is bogus. |