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.

templates: Use HTML5 doctype for emails.

Anders Kaseorg7177529107e9
diff --git a/templates/zerver/emails/email_base_default.source.html b/templates/zerver/emails/email_base_default.source.html
index b79eaf88063..59ced182875 100644
--- a/templates/zerver/emails/email_base_default.source.html
+++ b/templates/zerver/emails/email_base_default.source.html
@@ -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>
diff --git a/templates/zerver/emails/email_base_messages.html b/templates/zerver/emails/email_base_messages.html
index ac1a323ccb9..c35452aae88 100644
--- a/templates/zerver/emails/email_base_messages.html
+++ b/templates/zerver/emails/email_base_messages.html
@@ -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 %}
diff --git a/version.py b/version.py
index 50c18c36534..f736763bf4b 100644
--- a/version.py
+++ b/version.py
@@ -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"