From de3dbdca0424befcb77333cc5c26d392ff9e0c78 Mon Sep 17 00:00:00 2001 From: Robert Sparks Date: Fri, 28 Oct 2022 10:58:38 -0500 Subject: [PATCH] fix(nomcom-ui): Use pre instead of relying on now-missing pasted styling (#4658) --- ietf/dbtemplate/templates/dbtemplate/template_show.html | 2 +- ietf/templates/nomcom/view_feedback_nominee.html | 4 ++-- ietf/templates/nomcom/view_feedback_topic.html | 4 ++-- ietf/templates/nomcom/view_feedback_unrelated.html | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/ietf/dbtemplate/templates/dbtemplate/template_show.html b/ietf/dbtemplate/templates/dbtemplate/template_show.html index 60e3bb9c7..a3a77ed45 100644 --- a/ietf/dbtemplate/templates/dbtemplate/template_show.html +++ b/ietf/dbtemplate/templates/dbtemplate/template_show.html @@ -34,7 +34,7 @@

Template content

-

{{ template.content }}

+
{{ template.content|escape }}
{% endblock %} diff --git a/ietf/templates/nomcom/view_feedback_nominee.html b/ietf/templates/nomcom/view_feedback_nominee.html index 2dd53d41d..b26595f0c 100644 --- a/ietf/templates/nomcom/view_feedback_nominee.html +++ b/ietf/templates/nomcom/view_feedback_nominee.html @@ -78,9 +78,9 @@
Feedback
-
+
                                 {% decrypt feedback.comments request year 1 %}
-                            
+ {% if not forloop.last %}
{% endif %} {% endif %} diff --git a/ietf/templates/nomcom/view_feedback_topic.html b/ietf/templates/nomcom/view_feedback_topic.html index 20ee49ad0..ea634ba23 100644 --- a/ietf/templates/nomcom/view_feedback_topic.html +++ b/ietf/templates/nomcom/view_feedback_topic.html @@ -41,9 +41,9 @@
Feedback
-
+
                                 {% decrypt feedback.comments request year 1 %}
-                            
+ {% if not forloop.last %}
{% endif %} {% endif %} diff --git a/ietf/templates/nomcom/view_feedback_unrelated.html b/ietf/templates/nomcom/view_feedback_unrelated.html index b098d7748..013affe6d 100644 --- a/ietf/templates/nomcom/view_feedback_unrelated.html +++ b/ietf/templates/nomcom/view_feedback_unrelated.html @@ -42,9 +42,9 @@
Feedback
-
+
                             {% decrypt feedback.comments request year 1 %}
-                        
+ {% endfor %}