]> 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 939d9f0e98ad82ccf46df137c1f1813af5f94932..359c42669622c9f334451048c163f9c3f8c41717 100644 (file)
@@ -47,7 +47,7 @@
 
                <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}}
@@ -55,7 +55,7 @@
                        {{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}}
+                               {{if $t.removeurl}} <a href="{{$t.removeurl}}">(X)</a> {{/if}}
                        </span>
                        {{/foreach}}
                </div>
                {{/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>