summaryrefslogtreecommitdiffstats
path: root/Doc/perl
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1999-04-28 16:42:29 (GMT)
committerFred Drake <fdrake@acm.org>1999-04-28 16:42:29 (GMT)
commitac3dc83eb6630093eb0b4578908be3762ecd6bba (patch)
tree658c7098589c1c5361a6ae388f71110a94482547 /Doc/perl
parentd02573d13bbb4538619d6af013d2296807f2a4f0 (diff)
downloadcpython-ac3dc83eb6630093eb0b4578908be3762ecd6bba.zip
cpython-ac3dc83eb6630093eb0b4578908be3762ecd6bba.tar.gz
cpython-ac3dc83eb6630093eb0b4578908be3762ecd6bba.tar.bz2
Fix up the HTML generated for envdesc and macrodesc environments.
Make it possible for the user to tell the difference. ;-)
Diffstat (limited to 'Doc/perl')
-rw-r--r--Doc/perl/ltxmarkup.perl6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/perl/ltxmarkup.perl b/Doc/perl/ltxmarkup.perl
index 92667e4..07e93ca 100644
--- a/Doc/perl/ltxmarkup.perl
+++ b/Doc/perl/ltxmarkup.perl
@@ -45,7 +45,7 @@ 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"
. "\n<dd>"
. $_
. "</dl>";
@@ -56,8 +56,8 @@ sub do_env_envdesc{
my $env = ltx_next_argument();
my $params = ltx_process_params(ltx_next_argument());
return "\n<dl class=envdesc>"
- . "\n<dt><b><tt class=environment>&#92;$env</tt></b>"
- . "\n $params"
+ . "\n<dt><tt>&#92;begin{<b class=environment>$env</b>}</tt>"
+ . "\n $params"
. "\n<dd>"
. $_
. "</dl>";