aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/search_item.tpl
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2020-01-18 10:54:53 +0000
committerMario <mario@mariovavti.com>2020-01-18 10:54:53 +0000
commit66f6a1d186e62472ea69120da31675e2a45f790f (patch)
tree97b6ea7fea3295b8c0fd4a41e263561429297548 /view/tpl/search_item.tpl
parent17a4aa983ef1d5b68195d91f78ac04bc48085b1b (diff)
downloadvolse-hubzilla-66f6a1d186e62472ea69120da31675e2a45f790f.tar.gz
volse-hubzilla-66f6a1d186e62472ea69120da31675e2a45f790f.tar.bz2
volse-hubzilla-66f6a1d186e62472ea69120da31675e2a45f790f.zip
wrap profile names in bdi tags to prevent mastodon-kiddies to mess with the layout
Diffstat (limited to 'view/tpl/search_item.tpl')
-rwxr-xr-xview/tpl/search_item.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/view/tpl/search_item.tpl b/view/tpl/search_item.tpl
index 198b71e9c..40341a840 100755
--- a/view/tpl/search_item.tpl
+++ b/view/tpl/search_item.tpl
@@ -41,7 +41,7 @@
{{/if}}
<div class="wall-item-author">
{{if $item.previewing}}<span class="preview-indicator"><i class="fa fa-eye" title="{{$item.preview_lbl}}"></i></span>&nbsp;{{/if}}
- <a href="{{$item.profile_url}}" title="{{$item.linktitle}}" class="wall-item-name-link"><span class="wall-item-name{{$item.sparkle}}" id="wall-item-name-{{$item.id}}" >{{$item.name}}</span></a>{{if $item.owner_url}}&nbsp;{{$item.via}}&nbsp;<a href="{{$item.owner_url}}" title="{{$item.olinktitle}}" class="wall-item-name-link"><span class="wall-item-name{{$item.osparkle}}" id="wall-item-ownername-{{$item.id}}">{{$item.owner_name}}</span></a>{{/if}}
+ <a href="{{$item.profile_url}}" title="{{$item.linktitle}}" class="wall-item-name-link"><span class="wall-item-name{{$item.sparkle}}" id="wall-item-name-{{$item.id}}" ><bdi>{{$item.name}}</bdi></span></a>{{if $item.owner_url}}&nbsp;{{$item.via}}&nbsp;<a href="{{$item.owner_url}}" title="{{$item.olinktitle}}" class="wall-item-name-link"><span class="wall-item-name{{$item.osparkle}}" id="wall-item-ownername-{{$item.id}}"><bdi>{{$item.owner_name}}</bdi></span></a>{{/if}}
</div>
<div class="wall-item-ago" id="wall-item-ago-{{$item.id}}">
{{if $item.verified}}<i class="fa fa-check item-verified" title="{{$item.verified}}"></i>&nbsp;{{elseif $item.forged}}<i class="fa fa-exclamation item-forged" title="{{$item.forged}}"></i>&nbsp;{{/if}}{{if $item.location}}<span class="wall-item-location" id="wall-item-location-{{$item.id}}">{{$item.location}},&nbsp;</span>{{/if}}<span class="autotime" title="{{$item.isotime}}">{{$item.localtime}}{{if $item.editedtime}}&nbsp;{{$item.editedtime}}{{/if}}{{if $item.expiretime}}&nbsp;{{$item.expiretime}}{{/if}}</span>{{if $item.editedtime}}&nbsp;<i class="fa fa-pencil"></i>{{/if}}&nbsp;{{if $item.app}}<span class="item.app">{{$item.str_app}}</span>{{/if}}