]> git.mxchange.org Git - friendica.git/blobdiff - view/templates/vcard-widget.tpl
Remove uses of HTML escaping in Smarty templates
[friendica.git] / view / templates / vcard-widget.tpl
index eed94193f5a598ab84f7d8250cf0cb74be330dda..47b64b68dafe5d0f561b8071ff3e0340173d527c 100644 (file)
@@ -1,14 +1,14 @@
 
 <div class="vcard h-card">
-       <div class="fn p-name">{{$name|escape}}</div>
-       {{if $addr}}<div class="p-addr">{{$addr|escape}}</div>{{/if}}
+       <div class="fn p-name">{{$name}}</div>
+       {{if $addr}}<div class="p-addr">{{$addr}}</div>{{/if}}
        {{if $pdesc}}<div class="title p-job-title">{{$pdesc}}</div>{{/if}}
        {{if $url}}
-       <div id="profile-photo-wrapper"><a href="{{$url}}"><img class="vcard-photo photo u-photo" style="width: 175px; height: 175px;" src="{{$photo}}" alt="{{$name|escape}}" /></a></div>
+       <div id="profile-photo-wrapper"><a href="{{$url}}"><img class="vcard-photo photo u-photo" style="width: 175px; height: 175px;" src="{{$photo}}" alt="{{$name}}" /></a></div>
        {{else}}
-       <div id="profile-photo-wrapper"><img class="vcard-photo photo u-photo" style="width: 175px; height: 175px;" src="{{$photo}}" alt="{{$name|escape}}" /></div>
+       <div id="profile-photo-wrapper"><img class="vcard-photo photo u-photo" style="width: 175px; height: 175px;" src="{{$photo}}" alt="{{$name}}" /></div>
        {{/if}}
-       {{if $account_type}}<div class="account-type">{{$account_type|escape}}</div>{{/if}}
+       {{if $account_type}}<div class="account-type">{{$account_type}}</div>{{/if}}
        {{if $network_name}}<dl class="network"><dt class="network-label">{{$network}}</dt><dd class="x-network">{{$network_name}}</dd></dl>{{/if}}
        <div id="profile-vcard-break"></div>
 </div>