--- loncom/interface/lonindexer.pm 2002/01/17 13:53:45 1.32
+++ loncom/interface/lonindexer.pm 2002/01/17 14:02:47 1.33
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Directory Indexer
#
-# $Id: lonindexer.pm,v 1.32 2002/01/17 13:53:45 harris41 Exp $
+# $Id: lonindexer.pm,v 1.33 2002/01/17 14:02:47 harris41 Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -602,8 +602,10 @@ sub display_line {
$title = &Apache::lonnet::metadata($filelink,'title')
if ($metafile == 1);
$title=$listname unless $title;
+ my $titleesc=$title;
+ $titleesc=~s/\'/\\'/;
$r->print("");
+ $titleesc,'","',$filelink,"\")'>");
$r->print("".
"\n");
$r->print("