未验证 提交 84693ce9 编写于 作者: A Ansgar

XHTML is no longer the next big thing

上级 119a29d2
......@@ -188,11 +188,10 @@ def sortfunc(a, b):
def header():
print("""<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
print("""<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="content-type" content="text/xhtml+xml; charset=utf-8" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link type="text/css" rel="stylesheet" href="style.css" />
<link rel="shortcut icon" href="https://www.debian.org/favicon.ico" />
<title>
......
......@@ -58,10 +58,10 @@ timeout_str = "Timed out while processing"
def html_header(name, missing):
if name.endswith('.changes'):
name = ' '.join(name.split('_')[:2])
result = """<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
result = """<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="content-type" content="text/xhtml+xml; charset=utf-8"
<meta http-equiv="content-type" content="text/html; charset=utf-8"
/>
<title>%(name)s - Debian NEW package overview</title>
<link type="text/css" rel="stylesheet" href="/style.css" />
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册