[LON-CAPA-cvs] cvs: loncom /interface lonnavmaps.pm
www
lon-capa-cvs@mail.lon-capa.org
Fri, 18 Apr 2003 13:51:46 -0000
www Fri Apr 18 09:51:46 2003 EDT
Modified files:
/loncom/interface lonnavmaps.pm
Log:
Unescapes colons in resource titles.
Index: loncom/interface/lonnavmaps.pm
diff -u loncom/interface/lonnavmaps.pm:1.175 loncom/interface/lonnavmaps.pm:1.176
--- loncom/interface/lonnavmaps.pm:1.175 Fri Apr 11 16:13:25 2003
+++ loncom/interface/lonnavmaps.pm Fri Apr 18 09:51:46 2003
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Navigate Maps Handler
#
-# $Id: lonnavmaps.pm,v 1.175 2003/04/11 20:13:25 bowersj2 Exp $
+# $Id: lonnavmaps.pm,v 1.176 2003/04/18 13:51:46 www Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -2690,6 +2690,7 @@
sub compTitle {
my $self = shift;
my $title = $self->title();
+ $title=~s/\&colon\;/\:/gs;
if (!$title) {
$title = $self->src();
$title = substr($title, rindex($title, '/') + 1);