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