Skip to content

armgit / mocha

Public Imported from GitHub
0

☕️ Classic, reliable, trusted test framework for Node.js and the browser

Use HTML5 syntax for charset declaration (#3809)

P. Roebuck2c626ca6d261
diff --git a/lib/browser/template.html b/lib/browser/template.html
index 36c5e0b6..af4d3e4f 100644
--- a/lib/browser/template.html
+++ b/lib/browser/template.html
@@ -1,10 +1,10 @@
<!DOCTYPE html>
-<html>
+<html lang="en">
<head>
+ <meta charset="utf-8">
<title>Mocha</title>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
- <link rel="stylesheet" href="mocha.css" />
+ <link rel="stylesheet" href="mocha.css">
</head>
<body>
<div id="mocha"></div>