[Python-bugs-list] [ python-Bugs-474485 ] pydoc generates some bad html
noreply@sourceforge.net
noreply@sourceforge.net
Tue, 30 Oct 2001 20:22:45 -0800
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: Closed
>Resolution: Accepted
Priority: 5
Submitted By: Rich Salz (rsalz)
Assigned to: Tim Peters (tim_one)
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.
----------------------------------------------------------------------
>Comment By: Tim Peters (tim_one)
Date: 2001-10-30 20:22
Message:
Logged In: YES
user_id=31435
Thanks, Rich! The patch was applied, in
Lib/pydoc.py; new revision: 1.56
Misc/ACKS; new revision: 1.136
If you have more changes you want to make to this, it would
be a real help if you could make them against the current
CVS version of pydoc; some of the lines I believe you
wanted to change were over 100 lines away from where this
patch thought they were, and that it made it harder and
more error-prone than it should be.
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=474485&group_id=5470