mirror of
https://github.com/python/cpython.git
synced 2025-07-23 03:05:38 +00:00
Fix up the HTML generated for envdesc and macrodesc environments.
Make it possible for the user to tell the difference. ;-)
This commit is contained in:
parent
d02573d13b
commit
ac3dc83eb6
1 changed files with 3 additions and 3 deletions
|
@ -45,7 +45,7 @@ sub do_env_macrodesc{
|
||||||
my $params = ltx_process_params(ltx_next_argument());
|
my $params = ltx_process_params(ltx_next_argument());
|
||||||
return "\n<dl class=macrodesc>"
|
return "\n<dl class=macrodesc>"
|
||||||
. "\n<dt><b><tt class=macro>\$macro</tt></b>"
|
. "\n<dt><b><tt class=macro>\$macro</tt></b>"
|
||||||
. "\n $params"
|
. "\n $params"
|
||||||
. "\n<dd>"
|
. "\n<dd>"
|
||||||
. $_
|
. $_
|
||||||
. "</dl>";
|
. "</dl>";
|
||||||
|
@ -56,8 +56,8 @@ sub do_env_envdesc{
|
||||||
my $env = ltx_next_argument();
|
my $env = ltx_next_argument();
|
||||||
my $params = ltx_process_params(ltx_next_argument());
|
my $params = ltx_process_params(ltx_next_argument());
|
||||||
return "\n<dl class=envdesc>"
|
return "\n<dl class=envdesc>"
|
||||||
. "\n<dt><b><tt class=environment>\$env</tt></b>"
|
. "\n<dt><tt>\begin{<b class=environment>$env</b>}</tt>"
|
||||||
. "\n $params"
|
. "\n $params"
|
||||||
. "\n<dd>"
|
. "\n<dd>"
|
||||||
. $_
|
. $_
|
||||||
. "</dl>";
|
. "</dl>";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue