[Python-bugs-list] [ python-Bugs-522682 ] pydoc: HTML not escaped

noreply@sourceforge.net noreply@sourceforge.net
Sat, 16 Mar 2002 00:22:22 -0800


Bugs item #522682, was opened at 2002-02-25 22:09
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=522682&group_id=5470

Category: Python Library
Group: Python 2.2
Status: Open
Resolution: None
Priority: 5
Submitted By: Johannes Gijsbers (jlgijsbers)
Assigned to: Nobody/Anonymous (nobody)
Summary: pydoc: HTML not escaped

Initial Comment:
In the part 'Data and non-method functions', the 
variables are not escaped for HTML. I discovered this 
while looking at pyweblib.forms[1], which uses some 
HTML like <form>, <input>, etc. in it's docstrings. 
Also, \n isn't replaced by <br>.

I'm not sure what the new behavior should be, but I do 
know that this is quite ugly to see(and it can break 
all of the layout, with a nicely placed </table>).

[1]
http://www.stroeder.com/pylib/PyWebLib/pydoc/pyweblib.f
orms.html

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

>Comment By: Johannes Gijsbers (jlgijsbers)
Date: 2002-03-16 08:22

Message:
Logged In: YES 
user_id=469548

It was fixed in that version, thanks!

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

Comment By: A.M. Kuchling (akuchling)
Date: 2002-03-08 18:47

Message:
Logged In: YES 
user_id=11375

It looks like this bug was fixed by a recent checkin (rev.
1.58 of pydoc.py).  Can you please grab a copy of pydoc.py
from the current CVS and see if the problem is fixed?


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

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