minor HTML cleanup

上级 4e061be0
...@@ -191,7 +191,7 @@ def header(): ...@@ -191,7 +191,7 @@ def header():
print("""<!DOCTYPE html> print("""<!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" /> <meta charset="utf-8" />
<link type="text/css" rel="stylesheet" href="style.css" /> <link type="text/css" rel="stylesheet" href="style.css" />
<link rel="shortcut icon" href="https://www.debian.org/favicon.ico" /> <link rel="shortcut icon" href="https://www.debian.org/favicon.ico" />
<title> <title>
......
...@@ -48,11 +48,11 @@ def html_escape(s): ...@@ -48,11 +48,11 @@ def html_escape(s):
def header(): def header():
return """<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> return """<!DOCTYPE html>
<html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <html lang="en"><head><meta charset="utf-8" />
<title>Deferred uploads to Debian</title> <title>Deferred uploads to Debian</title>
<link type="text/css" rel="stylesheet" href="style.css"> <link type="text/css" rel="stylesheet" href="style.css" />
<link rel="shortcut icon" href="https://www.debian.org/favicon.ico"> <link rel="shortcut icon" href="https://www.debian.org/favicon.ico" />
</head> </head>
<body> <body>
<div align="center"> <div align="center">
......
...@@ -61,8 +61,7 @@ def html_header(name, missing): ...@@ -61,8 +61,7 @@ def html_header(name, missing):
result = """<!DOCTYPE html> result = """<!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" <meta charset="utf-8" />
/>
<title>%(name)s - Debian NEW package overview</title> <title>%(name)s - Debian NEW package overview</title>
<link type="text/css" rel="stylesheet" href="/style.css" /> <link type="text/css" rel="stylesheet" href="/style.css" />
<link rel="shortcut icon" href="https://www.debian.org/favicon.ico" /> <link rel="shortcut icon" href="https://www.debian.org/favicon.ico" />
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册