[Fusionforge-commits] r15086 - trunk/src/common/tracker/include

Julien HEYMAN jheyman at fusionforge.org
Fri Mar 2 09:50:37 CET 2012


Author: jheyman
Date: 2012-03-02 09:50:37 +0100 (Fri, 02 Mar 2012)
New Revision: 15086

Modified:
   trunk/src/common/tracker/include/ArtifactHtml.class.php
Log:
Fix format for messages in trackers

Modified: trunk/src/common/tracker/include/ArtifactHtml.class.php
===================================================================
--- trunk/src/common/tracker/include/ArtifactHtml.class.php	2012-03-02 08:44:38 UTC (rev 15085)
+++ trunk/src/common/tracker/include/ArtifactHtml.class.php	2012-03-02 08:50:37 UTC (rev 15086)
@@ -98,7 +98,7 @@
 				$text = db_result($result, $i, 'body');
 				$text = util_gen_cross_ref($text, $this->ArtifactType->Group->getID());
 				//$text = util_line_wrap( $text, 120,"\n");
-				$text = preg_replace('/\r?\n/', '<br />', $text);
+				$text = preg_replace('/\r|\n/', '<br />', $text);
 				echo "<br /><br />".$text.'</td></tr>';
 			}
 




More information about the Fusionforge-commits mailing list