mirror of https://github.com/python/cpython
better support for well-formed XHTML
This commit is contained in:
parent
2fc88a62d4
commit
e0c1740bc5
|
@ -45,10 +45,10 @@ 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</dt>"
|
||||||
. "\n<dd>"
|
. "\n<dd>"
|
||||||
. $_
|
. $_
|
||||||
. "</dl>";
|
. '</dd></dl>';
|
||||||
}
|
}
|
||||||
|
|
||||||
sub do_env_envdesc{
|
sub do_env_envdesc{
|
||||||
|
@ -58,10 +58,10 @@ sub do_env_envdesc{
|
||||||
return "\n<dl class='envdesc'>"
|
return "\n<dl class='envdesc'>"
|
||||||
. "\n<dt><tt>\begin{<b class='environment'>$env</b>}</tt>"
|
. "\n<dt><tt>\begin{<b class='environment'>$env</b>}</tt>"
|
||||||
. "\n $params"
|
. "\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>"
|
. "\n<dd>"
|
||||||
. $_
|
. $_
|
||||||
. "</dl>";
|
. '</dd></dl>';
|
||||||
}
|
}
|
||||||
|
|
||||||
1; # Must end with this, because Perl is bogus.
|
1; # Must end with this, because Perl is bogus.
|
||||||
|
|
Loading…
Reference in New Issue