From 92a096f03cf0612d05696954ca162da219091950 Mon Sep 17 00:00:00 2001 From: Pirate Praveen Date: Sat, 3 Oct 2020 18:07:25 +0530 Subject: [PATCH] Add closing tags to replace invalid self-closing tags closes #8251 closes #8158 --- Changelog.md | 1 + .../aspect_membership_dropdown_tpl.jst.hbs | 10 +++++----- app/assets/templates/comment-stream_tpl.jst.hbs | 2 +- app/assets/templates/comment_tpl.jst.hbs | 4 ++-- app/assets/templates/photo_tpl.jst.hbs | 4 ++-- app/assets/templates/pod_table_entry_tpl.jst.hbs | 6 +++--- app/assets/templates/reshare_tpl.jst.hbs | 2 +- .../single-post-content_tpl.jst.hbs | 14 +++++++------- app/assets/templates/stream-element_tpl.jst.hbs | 2 +- 9 files changed, 23 insertions(+), 22 deletions(-) diff --git a/Changelog.md b/Changelog.md index c69a19341..a20ada372 100644 --- a/Changelog.md +++ b/Changelog.md @@ -2,6 +2,7 @@ ## Refactor * Cache local posts/comments count for statistics [#8241](https://github.com/diaspora/diaspora/pull/8241) +* Fix html-syntax in some handlebars templates [#8251](https://github.com/diaspora/diaspora/pull/8251) ## Bug fixes diff --git a/app/assets/templates/aspect_membership_dropdown_tpl.jst.hbs b/app/assets/templates/aspect_membership_dropdown_tpl.jst.hbs index 03e24c939..f4a96f1c2 100644 --- a/app/assets/templates/aspect_membership_dropdown_tpl.jst.hbs +++ b/app/assets/templates/aspect_membership_dropdown_tpl.jst.hbs @@ -10,7 +10,7 @@ {{ t "aspect_dropdown.toggle" count=aspectMembershipsLength }} {{/if}} - + {{#if dropdownMayCreateNewAspect}} - diff --git a/app/assets/templates/pod_table_entry_tpl.jst.hbs b/app/assets/templates/pod_table_entry_tpl.jst.hbs index e43ee6c6f..46f0a9909 100644 --- a/app/assets/templates/pod_table_entry_tpl.jst.hbs +++ b/app/assets/templates/pod_table_entry_tpl.jst.hbs @@ -9,7 +9,7 @@ {{host}} - + {{#if has_no_errors}} @@ -18,10 +18,10 @@ {{status_text}} {{/if}} {{#unless is_unchecked}} -
{{t 'admin.pods.last_check'}} +
{{t 'admin.pods.last_check'}} {{/unless}} {{#if offline}} - | {{t 'admin.pods.offline_since'}} + | {{t 'admin.pods.offline_since'}} {{/if}} {{#if is_unchecked}}
{{t 'admin.pods.no_info'}}{{/if}}