templates: Use HTML5 doctype for emails.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2021-04-20 16:37:51 -07:00
committed by Tim Abbott
parent d2706fa246
commit 7177529107
3 changed files with 5 additions and 5 deletions

View File

@@ -1,9 +1,9 @@
{% import 'zerver/emails/compiled/macros.html' as macros %}
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta charset="UTF-8" />
<title>Zulip</title>
</head>
<body>

View File

@@ -1,7 +1,7 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta charset="UTF-8">
<title>Zulip</title>
</head>
{% if has_preheader %}

View File

@@ -45,4 +45,4 @@ API_FEATURE_LEVEL = 57
# historical commits sharing the same major version, in which case a
# minor version bump suffices.
PROVISION_VERSION = "141.0"
PROVISION_VERSION = "141.1"