[interchange-cvs] interchange - kwalsh modified lib/Vend/Interpolate.pm
interchange-core@icdevgroup.org
interchange-core@icdevgroup.org
Thu Jul 25 13:15:01 2002
User: kwalsh
Date: 2002-07-25 17:14:21 GMT
Modified: lib/Vend Interpolate.pm
Log:
* Fixed a minor bug that prevented both the [next-anchor] and
the new [last-anchor] from being ignored on the last page.
Revision Changes Path
2.91 +3 -3 interchange/lib/Vend/Interpolate.pm
rev 2.91, prev_rev 2.90
Index: Interpolate.pm
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /var/cvs/interchange/lib/Vend/Interpolate.pm,v
retrieving revision 2.90
retrieving revision 2.91
diff -u -r2.90 -r2.91
--- Interpolate.pm 25 Jul 2002 17:07:21 -0000 2.90
+++ Interpolate.pm 25 Jul 2002 17:14:21 -0000 2.91
@@ -1,6 +1,6 @@
# Vend::Interpolate - Interpret Interchange tags
#=20
-# $Id: Interpolate.pm,v 2.90 2002/07/25 17:07:21 kwalsh Exp $
+# $Id: Interpolate.pm,v 2.91 2002/07/25 17:14:21 kwalsh Exp $
#
# Copyright (C) 1996-2002 Red Hat, Inc. <interchange@redhat.com>
#
@@ -27,7 +27,7 @@
require Exporter;
@ISA =3D qw(Exporter);
=20
-$VERSION =3D substr(q$Revision: 2.90 $, 10);
+$VERSION =3D substr(q$Revision: 2.91 $, 10);
=20
@EXPORT =3D qw (
=20
@@ -3737,7 +3737,7 @@
}
}
else {
- $r =3D~ s:\[(last|next)[-_]anchor\]$All\[/\1[-_]anchor\]::i;
+ $r =3D~ s:\[(last|next)[-_]anchor\]$All\[/\1[-_]anchor\]::gi;
}
=20=09
unless ($page_anchor) {