From: Evan Prodromou Date: Mon, 16 Feb 2009 23:02:04 +0000 (-0500) Subject: error in hashtag link generation X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c8e71d359cee093dcb15c1d32684d90f81e10204;p=quix0rs-gnu-social.git error in hashtag link generation --- diff --git a/lib/util.php b/lib/util.php index 094b2750ca..46aa7b9df9 100644 --- a/lib/util.php +++ b/lib/util.php @@ -481,7 +481,7 @@ function common_linkify($url) { $url = (!preg_match('#^([a-z]+://|(mailto|aim|tel):)#i', $url)) ? 'http://'.$url : $url; $attrs = array('href' => $url, 'rel' => 'external'); - + if (in_array($ext, $video_ext)) { $attrs['class'] = 'media'; } @@ -596,7 +596,7 @@ function common_tag_link($tag) $xs->element('a', array('href' => $url, 'rel' => 'tag'), $tag); - $xs->elementEnd(); + $xs->elementEnd('span'); return $xs->getString(); }