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

hanska-guest at alioth.debian.org hanska-guest at alioth.debian.org
Thu Oct 4 20:13:38 UTC 2007


Author: hanska-guest
Date: 2007-10-04 20:13:37 +0000 (Thu, 04 Oct 2007)
New Revision: 577

Modified:
   trunk/community/website/index.php
Log:
Working for Markup validation. Step 1.


Modified: trunk/community/website/index.php
===================================================================
--- trunk/community/website/index.php	2007-10-04 20:00:53 UTC (rev 576)
+++ trunk/community/website/index.php	2007-10-04 20:13:37 UTC (rev 577)
@@ -102,8 +102,8 @@
 							$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>.*::/", "", $desc);
-						?>
+							$desc = preg_replace("/(Commit by.*)<strong>(.*)<\/strong>.*<span>.*::.*<\/span>/", "", $desc);
+				?>
 				<tr>
 					<td><?=$rs["items"][$i]["pubDate"]?></td>
 					<td><a href="http://alioth.debian.org/users/<?=$author?>"><?=$author?></a></td>




More information about the debian-med-commit mailing list