summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1999-09-23 16:45:08 (GMT)
committerFred Drake <fdrake@acm.org>1999-09-23 16:45:08 (GMT)
commitd37cecfda4b647df3ad25da64e4fbfcb28b19891 (patch)
tree0a6ab2f5191aa00eb74856b88624d420743dc96a
parentf42d7a78fc851d933b87c3cfeba4452628aef194 (diff)
downloadcpython-d37cecfda4b647df3ad25da64e4fbfcb28b19891.zip
cpython-d37cecfda4b647df3ad25da64e4fbfcb28b19891.tar.gz
cpython-d37cecfda4b647df3ad25da64e4fbfcb28b19891.tar.bz2
Remove some <SPAN> elements that were used only to carry a CLASS
attribute; stick the CLASS on an existing element.
-rw-r--r--Doc/perl/python.perl8
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/perl/python.perl b/Doc/perl/python.perl
index b0213a4..718734e 100644
--- a/Doc/perl/python.perl
+++ b/Doc/perl/python.perl
@@ -187,8 +187,7 @@ sub do_cmd_refmodule{
sub do_cmd_newsgroup{
local($_) = @_;
my $newsgroup = next_argument();
- my $stuff = "<span class=newsgroup><a href=\"news:$newsgroup\">"
- . "$newsgroup</a></span>";
+ my $stuff = "<a class=newsgroup href=\"news:$newsgroup\">$newsgroup</a>";
return $stuff . $_;
}
@@ -201,7 +200,8 @@ sub do_cmd_envvar{
add_index_entry("environment variables!$envvar@<tt>\$$envvar</tt>",
$ahref);
add_index_entry("$envvar@\$$envvar", $ahref);
- return "<span class=envvar>$aname\$$envvar</a></span>" . $_;
+ $aname =~ s/<a/<a class=envvar/;
+ return "$aname\$$envvar</a>" . $_;
}
sub do_cmd_url{
@@ -209,7 +209,7 @@ sub do_cmd_url{
local($_) = @_;
my $url = next_argument();
$url =~ s/~/&#126;/g;
- return "<span class=url><a href=\"$url\">$url</a></span>" . $_;
+ return "<a class=url href=\"$url\">$url</a>" . $_;
}
sub do_cmd_manpage{