[med-svn] r581 - trunk/community/website

hanska-guest at alioth.debian.org hanska-guest at alioth.debian.org
Thu Oct 4 20:33:46 UTC 2007


Author: hanska-guest
Date: 2007-10-04 20:33:45 +0000 (Thu, 04 Oct 2007)
New Revision: 581

Modified:
   trunk/community/website/index.php
Log:
Another fix to the regex (maybe it's the right one)


Modified: trunk/community/website/index.php
===================================================================
--- trunk/community/website/index.php	2007-10-04 20:29:27 UTC (rev 580)
+++ trunk/community/website/index.php	2007-10-04 20:33:45 UTC (rev 581)
@@ -102,7 +102,7 @@
 							$desc = html_entity_decode($rs["items"][$i]["description"]);
 							preg_match("/(Commit by.*)<strong>(.*)<\/strong>/", $desc, $matches);
 							$author = $matches[2];
-							$desc = preg_replace("/(Commit by.*<strong>.*<\/strong>.*<span>.*::.*<\/span>)/", "", $desc);
+							$desc = preg_replace("/(Commit by.*<strong>.*<\/strong>.*<span.*::.*<\/span>)/", "", $desc);
 				?>
 				<tr>
 					<td><?=$rs["items"][$i]["pubDate"]?></td>




More information about the debian-med-commit mailing list