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

noreply@sourceforge.net noreply@sourceforge.net
Mon, 25 Feb 2002 14:09:07 -0800


Bugs item #522682, was opened at 2002-02-25 14: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

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

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