From 2030e27ad53c3ab5bb47200214b2fb29981f4d63 Mon Sep 17 00:00:00 2001 From: Robert Sparks Date: Wed, 26 Oct 2022 17:09:55 -0500 Subject: [PATCH] fix(nomcom-ui): Use pre instead of relying on now-missing pasted styling --- 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 60e3bb9c7cd..a3a77ed4566 100644 --- a/ietf/dbtemplate/templates/dbtemplate/template_show.html +++ b/ietf/dbtemplate/templates/dbtemplate/template_show.html @@ -34,7 +34,7 @@

Meta information

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 2dd53d41d28..b26595f0c95 100644 --- a/ietf/templates/nomcom/view_feedback_nominee.html +++ b/ietf/templates/nomcom/view_feedback_nominee.html @@ -78,9 +78,9 @@

Feedback about {{ nominee }}

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 20ee49ad08c..ea634ba237f 100644 --- a/ietf/templates/nomcom/view_feedback_topic.html +++ b/ietf/templates/nomcom/view_feedback_topic.html @@ -41,9 +41,9 @@

Feedback about {{ topic.subject }}

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 b098d7748de..013affe6d87 100644 --- a/ietf/templates/nomcom/view_feedback_unrelated.html +++ b/ietf/templates/nomcom/view_feedback_unrelated.html @@ -42,9 +42,9 @@

Feedback not related to nominees

Feedback
-
+
                             {% decrypt feedback.comments request year 1 %}
-                        
+ {% endfor %}