From b79b1a3e7b7ed65e5590061a2682d1e89125ee9b Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Wed, 19 May 2021 10:35:58 -0400 Subject: [PATCH 1/2] Remove whitespace before opening HTML tag closure --- view/templates/photo_item.tpl | 16 ++++++------ view/templates/search_item.tpl | 20 +++++++------- view/templates/wall_thread.tpl | 26 +++++++++---------- view/theme/frio/templates/search_item.tpl | 6 ++--- view/theme/quattro/templates/search_item.tpl | 2 +- view/theme/quattro/templates/wall_thread.tpl | 6 ++--- view/theme/smoothly/templates/search_item.tpl | 16 ++++++------ view/theme/smoothly/templates/wall_thread.tpl | 22 ++++++++-------- view/theme/vier/templates/wall_thread.tpl | 2 +- 9 files changed, 58 insertions(+), 58 deletions(-) diff --git a/view/templates/photo_item.tpl b/view/templates/photo_item.tpl index df12465bdd..25b1db2335 100644 --- a/view/templates/photo_item.tpl +++ b/view/templates/photo_item.tpl @@ -1,22 +1,22 @@ -
-
+
+ -
- {{$name}} +
+ {{$name}}
{{$ago}}
-
+
{{$title}}
{{$body}}
{{if $drop.dropping }} -
- +
+
{{/if}} @@ -25,6 +25,6 @@
{{$comment}} -
+
diff --git a/view/templates/search_item.tpl b/view/templates/search_item.tpl index ebf1c7cafa..35bc4504a1 100644 --- a/view/templates/search_item.tpl +++ b/view/templates/search_item.tpl @@ -1,11 +1,11 @@ - + -
-
+
+
-
+
{{if $item.lock}}
{{$item.lock}}
{{else}}
{{/if}}
{{$item.location_html nofilter}}
- {{$item.name}} + {{$item.name}}
{{$item.ago}}
-
+
{{$item.title}}
{{$item.body_html nofilter}}
@@ -46,8 +46,8 @@ {{/if}}
-
- {{if $item.drop.dropping}}{{/if}} +
+ {{if $item.drop.dropping}}{{/if}}
{{if $item.drop.pagedrop}}{{/if}}
@@ -56,13 +56,13 @@
-
+
{{if $item.conv}} {{$item.conv.title}} {{/if}}
-
+
diff --git a/view/templates/wall_thread.tpl b/view/templates/wall_thread.tpl index 1a6a8c0717..f468bae5b6 100644 --- a/view/templates/wall_thread.tpl +++ b/view/templates/wall_thread.tpl @@ -17,19 +17,19 @@ {{/if}}
- -
-
+ +
+
{{if $item.reshared}}

{{$item.reshared nofilter}}

{{/if}}
{{if $item.owner_url}} -
+ -
{{$item.wall}}
+
{{$item.wall}}
{{/if}}
-
+
{{if $item.lock}}
{{$item.lock}}
{{else}}
{{/if}}
{{$item.location_html nofilter}}
- {{$item.name}}{{if $item.owner_url}} {{$item.to}} {{$item.owner_name}} {{$item.vwall}}{{/if}}
+ {{$item.name}}{{if $item.owner_url}} {{$item.to}} {{$item.owner_name}} {{$item.vwall}}{{/if}}
{{$item.pinned}}
-
+
{{$item.title}}
@@ -120,8 +120,8 @@
{{/if}} -
- {{if $item.drop.dropping}}{{/if}} +
+ {{if $item.drop.dropping}}{{/if}}
{{if $item.drop.pagedrop}}{{/if}}
@@ -135,20 +135,20 @@ {{/if}} {{if $item.threaded}} {{if $item.comment_html}} -
+
{{$item.comment_html nofilter}}
{{/if}} {{/if}} -
+
{{foreach $item.children as $child}} {{include file="{{$child.template}}" item=$child}} {{/foreach}} {{if $item.flatten}} -
+
{{$item.comment_html nofilter}}
{{/if}} diff --git a/view/theme/frio/templates/search_item.tpl b/view/theme/frio/templates/search_item.tpl index 2791a670b3..641fda4c58 100644 --- a/view/theme/frio/templates/search_item.tpl +++ b/view/theme/frio/templates/search_item.tpl @@ -11,7 +11,7 @@ -
+
{{* Put additional actions in a top-right dropdown menu *}} @@ -176,7 +176,7 @@ {{* Put additional actions in a dropdown menu *}} {{if $item.edpost || $item.tagger || $item.filer || $item.pin || $item.star || $item.follow_thread || $item.ignore || $item.drop.dropping}} - +
{{/if}} -
+
{{if $item.conv}} {{$item.conv.title}} {{/if}} diff --git a/view/theme/quattro/templates/search_item.tpl b/view/theme/quattro/templates/search_item.tpl index 3793cb1033..76ae86699a 100644 --- a/view/theme/quattro/templates/search_item.tpl +++ b/view/theme/quattro/templates/search_item.tpl @@ -89,7 +89,7 @@
{{$item.dislike_html nofilter}}
{{if $item.conv}} -
+ {{/if}} diff --git a/view/theme/quattro/templates/wall_thread.tpl b/view/theme/quattro/templates/wall_thread.tpl index 870be32078..8d3faf431f 100644 --- a/view/theme/quattro/templates/wall_thread.tpl +++ b/view/theme/quattro/templates/wall_thread.tpl @@ -44,7 +44,7 @@
{{if $item.owner_url}} -
+
{{$item.owner_name}} @@ -196,10 +196,10 @@ {{* top thread comment box *}} {{if $item.threaded}}{{if $item.comment_html}}{{if $item.thread_level==1}} -
{{$item.comment_html nofilter}}
+
{{$item.comment_html nofilter}}
{{/if}}{{/if}}{{/if}} {{if $item.flatten}} -
{{$item.comment_html nofilter}}
+
{{$item.comment_html nofilter}}
{{/if}} diff --git a/view/theme/smoothly/templates/search_item.tpl b/view/theme/smoothly/templates/search_item.tpl index d2fdb1cc31..e45431ce99 100644 --- a/view/theme/smoothly/templates/search_item.tpl +++ b/view/theme/smoothly/templates/search_item.tpl @@ -1,9 +1,9 @@ -
+
-
+
{{/if}}
-
- {{if $item.drop.dropping}}{{/if}} +
+ {{if $item.drop.dropping}}{{/if}}
{{if $item.drop.pagedrop}}{{/if}}
-
+
{{$item.title}}
{{$item.body_html nofilter}}
- {{$item.name}} + {{$item.name}}
{{$item.ago}}
@@ -46,7 +46,7 @@
-
+
{{if $item.conv}} {{$item.conv.title}} {{/if}} @@ -54,4 +54,4 @@
-
+
diff --git a/view/theme/smoothly/templates/wall_thread.tpl b/view/theme/smoothly/templates/wall_thread.tpl index a381722b12..595e065ed5 100644 --- a/view/theme/smoothly/templates/wall_thread.tpl +++ b/view/theme/smoothly/templates/wall_thread.tpl @@ -12,16 +12,16 @@ {{/if}}
-
-
+
+
{{if $item.owner_url}} -
+ -
{{$item.wall}}
+
{{$item.wall}}
{{/if}}
{{/if}}
-
+
- {{$item.name}} + {{$item.name}}
{{$item.pinned}}
@@ -134,9 +134,9 @@ {{/if}} -
+
{{if $item.drop.dropping}} - + {{/if}}
@@ -154,21 +154,21 @@ {{if $item.threaded}} {{if $item.comment_html}} -
+
{{$item.comment_html nofilter}}
{{/if}} {{/if}}
-
+
{{foreach $item.children as $child}} {{include file="{{$child.template}}" item=$child}} {{/foreach}} {{if $item.flatten}} -
+
{{$item.comment_html nofilter}}
{{/if}} diff --git a/view/theme/vier/templates/wall_thread.tpl b/view/theme/vier/templates/wall_thread.tpl index 36e26b0a52..f8c54d6ae7 100644 --- a/view/theme/vier/templates/wall_thread.tpl +++ b/view/theme/vier/templates/wall_thread.tpl @@ -45,7 +45,7 @@
{{if $item.owner_url}} - diff --git a/view/theme/quattro/templates/search_item.tpl b/view/theme/quattro/templates/search_item.tpl index 76ae86699a..928c36e145 100644 --- a/view/theme/quattro/templates/search_item.tpl +++ b/view/theme/quattro/templates/search_item.tpl @@ -27,7 +27,7 @@
{{if $item.title}}

{{$item.title}}

{{/if}} -
{{$item.body_html nofilter}}
+
{{$item.body_html nofilter}}
diff --git a/view/theme/smoothly/templates/search_item.tpl b/view/theme/smoothly/templates/search_item.tpl index e45431ce99..be174b9695 100644 --- a/view/theme/smoothly/templates/search_item.tpl +++ b/view/theme/smoothly/templates/search_item.tpl @@ -34,7 +34,7 @@
{{$item.title}}
-
{{$item.body_html nofilter}}
+
{{$item.body_html nofilter}}
{{$item.name}} diff --git a/view/theme/vier/templates/search_item.tpl b/view/theme/vier/templates/search_item.tpl index 063e0e9433..60e26c729e 100644 --- a/view/theme/vier/templates/search_item.tpl +++ b/view/theme/vier/templates/search_item.tpl @@ -32,7 +32,7 @@
{{if $item.title}}

{{$item.title}}

{{/if}} -
{{$item.body_html nofilter}}
+
{{$item.body_html nofilter}}