[Fusionforge-commits] r13517 - branches/Branch_5_1/src/www/export

Roland Mas lolando at fusionforge.org
Fri Jun 17 14:40:52 CEST 2011


Author: lolando
Date: 2011-06-17 14:40:52 +0200 (Fri, 17 Jun 2011)
New Revision: 13517

Modified:
   branches/Branch_5_1/src/www/export/rss_utils.inc
Log:
[#303] Insert line breaks where appropriate in RSS feeds

Modified: branches/Branch_5_1/src/www/export/rss_utils.inc
===================================================================
--- branches/Branch_5_1/src/www/export/rss_utils.inc	2011-06-17 11:07:14 UTC (rev 13516)
+++ branches/Branch_5_1/src/www/export/rss_utils.inc	2011-06-17 12:40:52 UTC (rev 13517)
@@ -35,7 +35,7 @@
 	if ((strlen($in)==0) && isset($GLOBALS['description_notnull']) && $GLOBALS['description_notnull']) {
 		$in = "No description available.";
 	}
-	return htmlspecialchars($in);
+	return htmlspecialchars(nl2br($in));
 }
 
 // callback is optional function name which should be called for each project




More information about the Fusionforge-commits mailing list