fix: Add <pre> to restore mailtrigger indentation (#4454)

* fix: Add <pre> to restore mailtrigger indentation

Fixes #4452

* Switch tag order
This commit is contained in:
Lars Eggert 2022-09-15 18:28:08 +01:00 committed by GitHub
parent 5b6695a04c
commit 4a68b92c03
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -39,12 +39,12 @@
</td>
<td>
{% if recipient.template %}
<code>{{ recipient.template|escape|linebreaksbr }}</code>
<pre><code>{{ recipient.template|escape }}</code></pre>
{% endif %}
</td>
<td>
{% if recipient.code %}
<code>{{ recipient.code|escape|linebreaksbr }}</code>
<pre><code>{{ recipient.code|escape }}</code></pre>
{% endif %}
</td>
</tr>
@ -55,4 +55,4 @@
{% endblock %}
{% block js %}
<script src="{% static "ietf/js/list.js" %}"></script>
{% endblock %}
{% endblock %}