From: Hypolite Petovan Date: Sun, 23 Dec 2018 15:51:18 +0000 (-0500) Subject: Fix template escaping in photo gallery view X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b1e85ba605c46328ab8af92abd8871db70591897;p=friendica.git Fix template escaping in photo gallery view --- diff --git a/view/templates/photo_view.tpl b/view/templates/photo_view.tpl index d5c3d68269..4f5be40fc5 100644 --- a/view/templates/photo_view.tpl +++ b/view/templates/photo_view.tpl @@ -22,17 +22,17 @@ {{/if}} {{if $tags.2}}
{{$tags.3}}
{{/if}} -{{if $edit}}{{$edit}}{{/if}} +{{if $edit}}{{$edit nofilter}}{{/if}} {{if $likebuttons}}
- {{$likebuttons}} - {{$like}} - {{$dislike}} + {{$likebuttons nofilter}} + {{$like nofilter}} + {{$dislike nofilter}}
{{/if}} -{{$comments}} +{{$comments nofilter}} {{$paginate nofilter}} diff --git a/view/theme/frio/templates/photo_view.tpl b/view/theme/frio/templates/photo_view.tpl index 1d39b16eef..359c426696 100644 --- a/view/theme/frio/templates/photo_view.tpl +++ b/view/theme/frio/templates/photo_view.tpl @@ -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}}
- {{$likebuttons}} - {{$like}} - {{$dislike}} + {{$likebuttons nofilter}} + {{$like nofilter}} + {{$dislike nofilter}}
{{/if}}
@@ -82,7 +82,7 @@ {{* Insert the comments *}}
- {{$comments}} + {{$comments nofilter}}
{{$paginate nofilter}} diff --git a/view/theme/quattro/templates/photo_view.tpl b/view/theme/quattro/templates/photo_view.tpl index cd1a7ccc99..0b65c2c535 100644 --- a/view/theme/quattro/templates/photo_view.tpl +++ b/view/theme/quattro/templates/photo_view.tpl @@ -20,18 +20,18 @@ {{/if}} {{if $tags.2}}
{{$tags.3}}
{{/if}} -{{if $edit}}{{$edit}}{{/if}} +{{if $edit}}{{$edit nofilter}}{{/if}} {{if $likebuttons}}
- {{$likebuttons}} - {{$like}} - {{$dislike}} + {{$likebuttons nofilter}} + {{$like nofilter}} + {{$dislike nofilter}}
{{/if}}
- {{$comments}} + {{$comments nofilter}}
{{$paginate nofilter}} diff --git a/view/theme/vier/templates/photo_view.tpl b/view/theme/vier/templates/photo_view.tpl index 21eda89b35..aa3f7aadd5 100644 --- a/view/theme/vier/templates/photo_view.tpl +++ b/view/theme/vier/templates/photo_view.tpl @@ -22,18 +22,18 @@ {{/if}} {{if $tags.2}}
{{$tags.3}}
{{/if}} -{{if $edit}}{{$edit}}{{/if}} +{{if $edit}}{{$edit nofilter}}{{/if}} {{if $likebuttons}}
- {{$likebuttons}} - {{$like}} - {{$dislike}} + {{$likebuttons nofilter}} + {{$like nofilter}} + {{$dislike nofilter}}
{{/if}}
-{{$comments}} + {{$comments nofilter}}
{{$paginate nofilter}}