summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-02-16 18:02:04 -0500
committerEvan Prodromou <evan@controlyourself.ca>2009-02-16 18:02:04 -0500
commitc8e71d359cee093dcb15c1d32684d90f81e10204 (patch)
tree4d2a2075ceb7c35793ea590ab06bc44fe70eac7a /lib
parent7638adf49e6142617712ba897b529cff9fcd68a3 (diff)
error in hashtag link generation
Diffstat (limited to 'lib')
-rw-r--r--lib/util.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/util.php b/lib/util.php
index 094b2750c..46aa7b9df 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();
}