fix(nomcom-ui): Use pre instead of relying on now-missing pasted styling (#4658)
This commit is contained in:
parent
8e04feb498
commit
de3dbdca04
|
@ -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 %}
|
||||
|
|
|
@ -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 %}
|
||||
|
|
|
@ -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 %}
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue