fix(nomcom-ui): Use pre instead of relying on now-missing pasted styling (#4658)

This commit is contained in:
Robert Sparks 2022-10-28 10:58:38 -05:00 committed by GitHub
parent 8e04feb498
commit de3dbdca04
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 7 deletions

View file

@ -34,7 +34,7 @@
<h2>Template content</h2>
<div class="card">
<p class="pasted">{{ template.content }}</p>
<pre class="pasted">{{ template.content|escape }}</pre>
</div>
{% endblock %}

View file

@ -78,9 +78,9 @@
<dt class="col-sm-2">
Feedback
</dt>
<dd class="col-sm-10 pasted">
<dd class="col-sm-10 pasted"><pre>
{% decrypt feedback.comments request year 1 %}
</dd>
</pre></dd>
</dl>
{% if not forloop.last %}<hr>{% endif %}
{% endif %}

View file

@ -41,9 +41,9 @@
<dt class="col-sm-2">
Feedback
</dt>
<dd class="col-sm-10 pasted">
<dd class="col-sm-10 pasted"><pre>
{% decrypt feedback.comments request year 1 %}
</dd>
</pre></dd>
</dl>
{% if not forloop.last %}<hr>{% endif %}
{% endif %}

View file

@ -42,9 +42,9 @@
<dt class="col-sm-2">
Feedback
</dt>
<dd class="col-sm-10 pasted">
<dd class="col-sm-10 pasted"><pre>
{% decrypt feedback.comments request year 1 %}
</dd>
</pre></dd>
</dl>
{% endfor %}
</div>