Fix template escaping in photo gallery view

This commit is contained in:
Hypolite Petovan 2018-12-23 10:51:18 -05:00
parent 3fc5c1ad84
commit b1e85ba605
4 changed files with 20 additions and 20 deletions

View File

@ -22,17 +22,17 @@
{{/if}}
{{if $tags.2}}<div id="tag-remove"><a href="{{$tags.2}}">{{$tags.3}}</a></div>{{/if}}
{{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}}
{{$comments}}
{{$comments nofilter}}
{{$paginate nofilter}}

View File

@ -68,13 +68,13 @@
{{/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,7 +82,7 @@
{{* Insert the comments *}}
<div id="photo-comment-wrapper-{{$id}}" class="photo-comment-wrapper">
{{$comments}}
{{$comments nofilter}}
</div>
{{$paginate nofilter}}

View File

@ -20,18 +20,18 @@
{{/if}}
{{if $tags.2}}<div id="tag-remove"><a href="{{$tags.2}}">{{$tags.3}}</a></div>{{/if}}
{{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}}
<div class="wall-item-comment-wrapper photo">
{{$comments}}
{{$comments nofilter}}
</div>
{{$paginate nofilter}}

View File

@ -22,18 +22,18 @@
{{/if}}
{{if $tags.2}}<div id="tag-remove"><a href="{{$tags.2}}">{{$tags.3}}</a></div>{{/if}}
{{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}}
<div class="wall-item-comment-wrapper photo">
{{$comments}}
{{$comments nofilter}}
</div>
{{$paginate nofilter}}