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