mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
This reverses the policy that was set, but incompletely enforced, by
commit 951514dd7d
. The self-closing tag
syntax is clearer, more consistent, simpler to parse, compatible with
XML, preferred by Prettier, and (most importantly now) required by
FormatJS.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
27 lines
587 B
HTML
27 lines
587 B
HTML
{% if from_email != envelope_from %}
|
|
<h4>Envelope-From: {{ envelope_from }}</h4>
|
|
{% endif %}
|
|
<h4>From: {{ from_email }}</h4>
|
|
{% if reply_to %}
|
|
<h4>Reply To:
|
|
{% for email in reply_to %}
|
|
{{ email }}
|
|
{% endfor %}
|
|
</h4>
|
|
{% endif %}
|
|
<h4>To:
|
|
{% for recipient in recipients %}
|
|
{{ recipient }}
|
|
{% endfor %}
|
|
</h4>
|
|
<h4>Subject: {{subject}}</h4>
|
|
<div class="email-html" style="display: block;">
|
|
{% autoescape off %}
|
|
{{ html_message }}
|
|
{% endautoescape %}
|
|
</div>
|
|
<div class="email-text" style="display: none;">
|
|
<pre>{{ body }}</pre>
|
|
</div>
|
|
<hr />
|