]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/frio/templates/photo_view.tpl
Fix template escaping in photo gallery view
[friendica.git] / view / theme / frio / templates / photo_view.tpl
index cc72a10fa2d8b71b4959a73961dd2896f2967c9f..359c42669622c9f334451048c163f9c3f8c41717 100644 (file)
 
                <div id="photo-photo-end"></div>
                {{* The photo description *}}
-               <div id="photo-caption">{{$desc}}</div>
+               <div id="photo-caption">{{$desc nofilter}}</div>
 
                {{* Tags and mentions *}}
                {{if $tags}}
                <div id="photo-tags">{{$tags.title}}
-               {{foreach $tags.tags as $t}}
-               <span class="category label btn-success sm">
-                       <span class="p-category">{{$t.name}}</span>
-                       {{if $t.removeurl}} (<a href="{{$t.removeurl}}">x</a>) {{/if}}
-               </span>
-               {{/foreach}}
+                       {{foreach $tags.tags as $t}}
+                       <span class="category label btn-success sm">
+                               <span class="p-category">{{$t.name}}</span>
+                               {{if $t.removeurl}} <a href="{{$t.removeurl}}">(X)</a> {{/if}}
+                       </span>
+                       {{/foreach}}
                </div>
                {{/if}}
 
                {{/if}}
 
                {{* The part for editing the photo - only available for the edit subpage *}}
-               {{if $edit}}{{$edit}}{{/if}}
+               {{if $edit}}{{$edit nofilter}}{{/if}}
 
                {{if $likebuttons}}
                <div id="photo-like-div">
-                       {{$likebuttons}}
-                       {{$like}}
-                       {{$dislike}}
+                       {{$likebuttons nofilter}}
+                       {{$like nofilter}}
+                       {{$dislike nofilter}}
                </div>
                {{/if}}
                <hr>
@@ -82,8 +82,8 @@
 
        {{* Insert the comments *}}
        <div id="photo-comment-wrapper-{{$id}}" class="photo-comment-wrapper">
-               {{$comments}}
+               {{$comments nofilter}}
        </div>
 
-       {{$paginate}}
+       {{$paginate nofilter}}
 </div>