emails: Remove body tag from email_base_message.

Presence of body tag in missed_message results in
gmail not hiding footer in mobile app.
This commit is contained in:
Vishnu KS
2019-08-02 11:37:58 +05:30
parent e807041bda
commit 216403768d
2 changed files with 18 additions and 20 deletions

View File

@@ -4,23 +4,21 @@
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Zulip</title>
</head>
<body>
<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>
{% block content %}{% endblock %}
{% block manage_preferences %}{% endblock %}
</body>
<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>
{% block content %}{% endblock %}
{% block manage_preferences %}{% endblock %}
</html>

View File

@@ -26,4 +26,4 @@ LATEST_RELEASE_ANNOUNCEMENT = "https://blog.zulip.org/2019/03/01/zulip-2-0-relea
# historical commits sharing the same major version, in which case a
# minor version bump suffices.
PROVISION_VERSION = '46.0'
PROVISION_VERSION = '46.1'