|
From: Trent M. <tr...@gm...> - 2007-11-06 05:37:11
|
> The escaping is very basic. Any improvements are welcome. Anyone know
> of a method already available in the python standard lib?
>>> import cgi
>>> cgi.escape("<a href='blah'>foo & bar</a>")
"<a href='blah'>foo & bar</a>"
Trent
--
Trent Mick
tr...@gm...
|