diff --git a/displaytweets.php b/displaytweets.php index 0ec1acc..2a11cbe 100644 --- a/displaytweets.php +++ b/displaytweets.php @@ -512,7 +512,7 @@ public function format_tweet( $text ) { $text = preg_replace( "#(^|[\n ])([\w]+?://[\w]+[^ \"\n\r\t< ]*)#", "\\1\\2", $text ); $text = preg_replace( "#(^|[\n ])((www|ftp)\.[^ \"\t\n\r< ]*)#", "\\1\\2", $text ); $text = preg_replace( "/@(\w+)/", "@\\1", $text ); - $text = preg_replace( "/#(\w+)/", "#\\1", $text ); + $text = preg_replace( "/#(\w+)/", "#\\1", $text ); return $text; }