You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs-cvs@perl.apache.org by st...@apache.org on 2002/04/14 20:44:08 UTC
cvs commit: modperl-docs/lib/DocSet/Doc Common.pm
stas 02/04/14 11:44:08
Modified: lib/DocSet/Doc Common.pm
Log:
merge two <a>'s into one <a> with two attrs
Revision Changes Path
1.6 +1 -1 modperl-docs/lib/DocSet/Doc/Common.pm
Index: Common.pm
===================================================================
RCS file: /home/cvs/modperl-docs/lib/DocSet/Doc/Common.pm,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- Common.pm 13 Apr 2002 15:44:20 -0000 1.5
+++ Common.pm 14 Apr 2002 18:44:07 -0000 1.6
@@ -140,7 +140,7 @@
$anchor =~ s/^\s*|\s*$//g; # strip leading and closing spaces
$anchor =~ s/\W/_/g;
my $link = $title->present($self);
- return qq{<a name="$anchor"></a><a href="#toc_$anchor">$link</a>};
+ return qq{<a name="$anchor" href="#toc_$anchor">$link</a>};
}
# we want the pre sections look different from normal text. So we use
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-cvs-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-cvs-help@perl.apache.org