summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
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();
}