1
1
Fork 0

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}}
{{if $tags.2}}<div id="tag-remove"><a href="{{$tags.2}}">{{$tags.3}}</a></div>{{/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}} {{if $likebuttons}}
<div id="photo-like-div"> <div id="photo-like-div">
{{$likebuttons}} {{$likebuttons nofilter}}
{{$like}} {{$like nofilter}}
{{$dislike}} {{$dislike nofilter}}
</div> </div>
{{/if}} {{/if}}
{{$comments}} {{$comments nofilter}}
{{$paginate nofilter}} {{$paginate nofilter}}

View file

@ -68,13 +68,13 @@
{{/if}} {{/if}}
{{* The part for editing the photo - only available for the edit subpage *}} {{* The part for editing the photo - only available for the edit subpage *}}
{{if $edit}}{{$edit}}{{/if}} {{if $edit}}{{$edit nofilter}}{{/if}}
{{if $likebuttons}} {{if $likebuttons}}
<div id="photo-like-div"> <div id="photo-like-div">
{{$likebuttons}} {{$likebuttons nofilter}}
{{$like}} {{$like nofilter}}
{{$dislike}} {{$dislike nofilter}}
</div> </div>
{{/if}} {{/if}}
<hr> <hr>
@ -82,7 +82,7 @@
{{* Insert the comments *}} {{* Insert the comments *}}
<div id="photo-comment-wrapper-{{$id}}" class="photo-comment-wrapper"> <div id="photo-comment-wrapper-{{$id}}" class="photo-comment-wrapper">
{{$comments}} {{$comments nofilter}}
</div> </div>
{{$paginate nofilter}} {{$paginate nofilter}}

View file

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

View file

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