aboutsummaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to 'source')
-rwxr-xr-xsource/auth.py2
-rwxr-xr-xsource/pyAggr3g470r.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/source/auth.py b/source/auth.py
index e2bdcf2b..52ceede6 100755
--- a/source/auth.py
+++ b/source/auth.py
@@ -147,7 +147,7 @@ class AuthController(object):
Login page.
"""
msg = ""
- return """<html>
+ return """<!DOCTYPE html>\n<html>
<head>
<link rel="stylesheet" type="text/css" href="/css/style.css" />
</head>
diff --git a/source/pyAggr3g470r.py b/source/pyAggr3g470r.py
index 58737890..89c73136 100755
--- a/source/pyAggr3g470r.py
+++ b/source/pyAggr3g470r.py
@@ -82,7 +82,7 @@ def htmlheader(nb_unread_articles=""):
Return the header of the HTML page with the number of unread articles
in the 'title' HTML tag..
"""
- return '<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">\n' + \
+ return '<!DOCTYPE html>\n' + \
'<head>' + \
'\n\t<title>'+ nb_unread_articles +'pyAggr3g470r - News aggregator</title>\n' + \
'\t<link rel="stylesheet" type="text/css" href="/css/style.css" />' + \
bgstack15