From kde-commits Fri Jun 27 21:08:34 2008 From: Daniel Molkentin Date: Fri, 27 Jun 2008 21:08:34 +0000 To: kde-commits Subject: www/areas/events Message-Id: <1214600914.608398.15469.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=121460092532036 SVN commit 825350 by danimo: tweak M +1 -1 upcomingeventlister.inc --- trunk/www/areas/events/upcomingeventlister.inc #825349:825350 @@ -17,7 +17,7 @@ $gCalDateEnd = gmdate($dateformat, $item['endTime']-(24*60*60)); // otherwise it's off by one day and we can't compare // reprocess description - $linked_description=preg_replace( '/(http|ftp|irc|webdav)+(s)?:(\/\/)((\w|\.|-)+)(\/)?(\S+)?/i', '\4', $item['description'] ); + $linked_description=preg_replace( '/(http|ftp|irc|webdav)+(s)?:(\/\/)((\w|\.|\-)+)(\/)?(\S+)?/i', '\4', $item['description'] ); $linked_description=str_replace("\n\n", "

", $linked_description); // Now, let's run it through some str_replaces, and store it with the date for easy sorting later