[Python-bugs-list] [ python-Bugs-474485 ] pydoc generates some bad html

noreply@sourceforge.net noreply@sourceforge.net
Wed, 24 Oct 2001 07:47:00 -0700


Bugs item #474485, was opened at 2001-10-24 07:47
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=474485&group_id=5470

Category: Python Library
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Rich Salz (rsalz)
Assigned to: Nobody/Anonymous (nobody)
Summary: pydoc generates some bad html

Initial Comment:
One bug, two nits. When documenting lambda's, pydoc
outputs <lambda> which is interepreted as HTML markup.
I partially fixed that; I didn't add support for
A/HREF, which I think is what's really intended.

The nits: HTMLtidy says tables should have a summary
attribute, and <P> directly before a <table> is an
empty element which should be removed.

Attached patch addresses these.


----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=474485&group_id=5470