diff options
author | Fred Drake <fdrake@acm.org> | 2001-06-20 21:31:36 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2001-06-20 21:31:36 (GMT) |
commit | dce975c82060d29061bafc6bd3ef0d8100818baa (patch) | |
tree | 2fa1cb32579b900591a230b609e105fc810db677 /Doc/perl | |
parent | b8248d8cff804f3a7e694d6322300bddbfcd6a45 (diff) | |
download | cpython-dce975c82060d29061bafc6bd3ef0d8100818baa.zip cpython-dce975c82060d29061bafc6bd3ef0d8100818baa.tar.gz cpython-dce975c82060d29061bafc6bd3ef0d8100818baa.tar.bz2 |
Update to use the newly separated values $PACKAGE_VERSION and $RELEASE_INFO.
Normalize all HTML attributes to be written as name="value" instead of
name='value'.
Diffstat (limited to 'Doc/perl')
-rw-r--r-- | Doc/perl/l2hinit.perl | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Doc/perl/l2hinit.perl b/Doc/perl/l2hinit.perl index d3720d9..58ed604 100644 --- a/Doc/perl/l2hinit.perl +++ b/Doc/perl/l2hinit.perl @@ -181,12 +181,12 @@ sub make_nav_panel { sub get_version_text { if ($PACKAGE_VERSION ne '' && $t_date) { return ("<span class=\"release-info\">" - . "Release $PACKAGE_VERSION," + . "Release $PACKAGE_VERSION$RELEASE_INFO," . " documentation updated on $t_date.</span>"); } if ($PACKAGE_VERSION ne '') { return ("<span class=\"release-info\">" - . "Release $PACKAGE_VERSION.</span>"); + . "Release $PACKAGE_VERSION$RELEASE_INFO.</span>"); } if ($t_date) { return ("<span class=\"release-info\">Documentation released on " @@ -325,11 +325,11 @@ sub add_module_idx { my $plat = ''; $key =~ s/<tt>([a-zA-Z0-9._]*)<\/tt>/\1/; if ($ModulePlatforms{$key} && !$allthesame) { - $plat = (" <em>(<span class='platform'>$ModulePlatforms{$key}" + $plat = (" <em>(<span class=\"platform\">$ModulePlatforms{$key}" . '</span>)</em>'); } print MODIDXFILE $moditem . $IDXFILE_FIELD_SEP - . "<tt class='module'>$key</tt>$plat###\n"; + . "<tt class=\"module\">$key</tt>$plat###\n"; } close(MODIDXFILE); @@ -415,7 +415,7 @@ sub do_cmd_textohtmlinfopage { if ($t_date) { # mostly ours $the_version = ",\n$t_date"; if ($PACKAGE_VERSION) { - $the_version .= ", Release $PACKAGE_VERSION"; + $the_version .= ", Release $PACKAGE_VERSION$RELEASE_INFO"; } } $_ = (($INFO == 1) |