re-add spaces between tags
This commit is contained in:
parent
e7a5aa7b9c
commit
a73ea134cd
@ -1459,8 +1459,10 @@ function format_hashtags(&$item) {
|
||||
continue;
|
||||
if(strpos($item['body'], $t['url']))
|
||||
continue;
|
||||
if($s)
|
||||
$s .= ' ';
|
||||
|
||||
$s .= '<span class="badge badge-pill badge-info"><i class="fa fa-hashtag"></i> <a class="text-white" href="' . zid($t['url']) . '" >' . $term . '</a></span> ';
|
||||
$s .= '<span class="badge badge-pill badge-info"><i class="fa fa-hashtag"></i> <a class="text-white" href="' . zid($t['url']) . '" >' . $term . '</a></span>';
|
||||
}
|
||||
}
|
||||
|
||||
@ -1480,8 +1482,9 @@ function format_mentions(&$item) {
|
||||
continue;
|
||||
if(strpos($item['body'], $t['url']))
|
||||
continue;
|
||||
|
||||
$s .= '<span class="badge badge-pill badge-success"><i class="fa fa-at"></i> <a class="text-white" href="' . zid($t['url']) . '" >' . $term . '</a></span> ';
|
||||
if($s)
|
||||
$s .= ' ';
|
||||
$s .= '<span class="badge badge-pill badge-success"><i class="fa fa-at"></i> <a class="text-white" href="' . zid($t['url']) . '" >' . $term . '</a></span>';
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -58,7 +58,7 @@
|
||||
<div class="p-2 wall-item-tools clearfix">
|
||||
|
||||
<div class="body-tags">
|
||||
<span class="tag">{{$item.mentions}}{{$item.tags}}{{$item.categories}}</span>
|
||||
<span class="tag">{{$item.mentions}} {{$item.tags}} {{$item.categories}}</span>
|
||||
</div>
|
||||
{{**
|
||||
{{if $item.mentions}}
|
||||
|
Reference in New Issue
Block a user