Commit ac3dc83e authored by Fred Drake's avatar Fred Drake

Fix up the HTML generated for envdesc and macrodesc environments.

Make it possible for the user to tell the difference.  ;-)
parent d02573d1
...@@ -45,7 +45,7 @@ sub do_env_macrodesc{ ...@@ -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>&#92;$macro</tt></b>" . "\n<dt><b><tt class=macro>&#92;$macro</tt></b>"
. "\n $params" . "\n $params"
. "\n<dd>" . "\n<dd>"
. $_ . $_
. "</dl>"; . "</dl>";
...@@ -56,8 +56,8 @@ sub do_env_envdesc{ ...@@ -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>&#92;$env</tt></b>" . "\n<dt><tt>&#92;begin{<b class=environment>$env</b>}</tt>"
. "\n $params" . "\n $params"
. "\n<dd>" . "\n<dd>"
. $_ . $_
. "</dl>"; . "</dl>";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment