--- CVSROOT/cvs2rss.pl 2005/10/14 14:35:43 1.4 +++ CVSROOT/cvs2rss.pl 2005/10/17 19:50:10 1.6 @@ -77,6 +77,7 @@ while () { } else { $_ .= "
"; + $_ = &HTML::Entities::encode($_,'<>&"'); } $description .= $_; } @@ -105,7 +106,8 @@ $rss->add_item( author => $author, description=> $description, mode => 'insert', - link => 'http://install.loncapa.org/cgi-bin/cvsweb.cgi/'.$title[0] + pubDate => $pubDate, + link => 'http://install.loncapa.org/cgi-bin/cvsweb.cgi/'.$title[0].'.diff?r1='.$title[1].';r2='.$title[2].';f=h' ); foreach my $element (@{$rss->{'items'}}) {