[New-bugs-announce] [issue5698] pydoc -w doesn't produce proper HTML

Matthias Klose report at bugs.python.org
Sun Apr 5 17:03:35 CEST 2009


New submission from Matthias Klose <doko at debian.org>:

[forwarded from http://bugs.debian.org/411524]

"""
If you feed the output of pydoc -w [some module] to the w3 validator, it
complains about two issues:
firstly, the doctype is wrong. It should be:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
not 
<!doctype...
[note case]

Secondly, no charset is specified. Just doing
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" > in
the head
would probably do.
"""

----------
assignee: georg.brandl
components: Documentation
files: pydoc.diff
keywords: needs review, patch, patch
messages: 85509
nosy: doko, georg.brandl
severity: normal
status: open
title: pydoc -w doesn't produce proper HTML
type: behavior
Added file: http://bugs.python.org/file13619/pydoc.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5698>
_______________________________________


More information about the New-bugs-announce mailing list