Fixed transitional/strict mismatch
This commit is contained in:
parent
4e7b90d677
commit
8a9962265a
@ -55,7 +55,7 @@ def document_header(string):
|
|||||||
if string == "xhtml-strict":
|
if string == "xhtml-strict":
|
||||||
print 'Content-type: text/html\n'
|
print 'Content-type: text/html\n'
|
||||||
print '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//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">'
|
||||||
if string == "atom":
|
if string == "atom":
|
||||||
print 'Content-type: application/atom+xml\n'
|
print 'Content-type: application/atom+xml\n'
|
||||||
|
Loading…
Reference in New Issue
Block a user