email_base_messages: Add missing <body>.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2025-09-05 17:15:55 -07:00
committed by Tim Abbott
parent 9ec4f726ac
commit c3b55702db

View File

@@ -6,23 +6,25 @@
<title>Zulip</title> <title>Zulip</title>
<style>{{css_styles}}</style> <style>{{css_styles}}</style>
</head> </head>
{% if has_preheader %} <body>
<span style="display:none !important; {% if has_preheader %}
visibility:hidden; <span style="display:none !important;
color:transparent; visibility:hidden;
mso-hide:all; color:transparent;
font-size:1px; mso-hide:all;
color:hsl(0, 0%, 100%); font-size:1px;
line-height:1px; color:hsl(0, 0%, 100%);
max-height:0px; line-height:1px;
height:0px; max-height:0px;
max-width:0px; height:0px;
width:0px; max-width:0px;
opacity:0; width:0px;
overflow:hidden;"> opacity:0;
{% block preheader %}{% endblock %} overflow:hidden;">
</span> {% block preheader %}{% endblock %}
{% endif %} </span>
{% block content %}{% endblock %} {% endif %}
{% block manage_preferences %}{% endblock %} {% block content %}{% endblock %}
{% block manage_preferences %}{% endblock %}
</body>
</html> </html>