Bugfixes:
* Switched to xhtml strict * Removed a empty line and added a whitespace
This commit is contained in:
parent
f561676ac1
commit
a0da3b8091
@ -25,8 +25,8 @@ def generate_uuid(string):
|
|||||||
|
|
||||||
def errorpage(string):
|
def errorpage(string):
|
||||||
print 'Content-type: text/html\n'
|
print 'Content-type: text/html\n'
|
||||||
print '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"'
|
print '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"'
|
||||||
print ' "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">'
|
print ' "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">'
|
||||||
print '<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">'
|
print '<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">'
|
||||||
print '<head>'
|
print '<head>'
|
||||||
print ' <title>Error!</title>'
|
print ' <title>Error!</title>'
|
||||||
@ -284,7 +284,7 @@ elif feed_display == "rss":
|
|||||||
|
|
||||||
# Generate regular page
|
# Generate regular page
|
||||||
else:
|
else:
|
||||||
document_header("xhtml-transitional")
|
document_header("xhtml-strict")
|
||||||
# XHTML Header
|
# XHTML Header
|
||||||
print ' <head>'
|
print ' <head>'
|
||||||
print ' <title>' + blog_title + '</title>'
|
print ' <title>' + blog_title + '</title>'
|
||||||
@ -520,4 +520,3 @@ else:
|
|||||||
print '</html>'
|
print '</html>'
|
||||||
|
|
||||||
# vim: set tw=0 ts=4:
|
# vim: set tw=0 ts=4:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user