Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

email_base_messages: Add missing <body>.

Anders Kaseorgc3b55702db3e
diff --git a/templates/zerver/emails/email_base_messages.html b/templates/zerver/emails/email_base_messages.html
index e6e96ee8955..768e66fb65d 100644
--- a/templates/zerver/emails/email_base_messages.html
+++ b/templates/zerver/emails/email_base_messages.html
@@ -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>