[LON-CAPA-cvs] cvs: CVSROOT / cvs2rss.pl

albertel lon-capa-cvs@mail.lon-capa.org
Mon, 17 Oct 2005 19:50:10 -0000


albertel		Mon Oct 17 15:50:10 2005 EDT

  Modified files:              
    /CVSROOT	cvs2rss.pl 
  Log:
  - esacpe entities in the Description
  
  
Index: CVSROOT/cvs2rss.pl
diff -u CVSROOT/cvs2rss.pl:1.5 CVSROOT/cvs2rss.pl:1.6
--- CVSROOT/cvs2rss.pl:1.5	Fri Oct 14 15:32:57 2005
+++ CVSROOT/cvs2rss.pl	Mon Oct 17 15:50:10 2005
@@ -77,6 +77,7 @@
 	}
 	else {
 		$_ .= "<br />";
+		$_ = &HTML::Entities::encode($_,'<>&"');
 	}
 	$description .= $_;
 }