mirror of https://github.com/python/cpython
#5698: Fix casing of !DOCTYPE to conform to W3C specs.
This commit is contained in:
parent
5623e50d1a
commit
e019706862
|
@ -422,7 +422,7 @@ class HTMLDoc(Doc):
|
|||
def page(self, title, contents):
|
||||
"""Format an HTML page."""
|
||||
return '''
|
||||
<!doctype html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||||
<html><head><title>Python: %s</title>
|
||||
</head><body bgcolor="#f0f0f8">
|
||||
%s
|
||||
|
|
Loading…
Reference in New Issue