Package markupsafe-py27-0.15-1
| System | Binary Distributions | CVS/rsync Source Distributions | |
|---|---|---|---|
10.8/x86_64 | |||
10.7/x86_64 | |||
10.6/x86_64 | |||
10.6/i386 | |||
10.5/i386 | |||
10.5/powerpc | 0.15-1 | ||
| Description: | XML/HTML/XHTML Markup safe string (0.15-1) | |
Implements a unicode subclass that supports HTML strings.
If you want to make an object unicode that is not yet unicode but
don't want to lose the taint information, you can use the soft_unicode
function.
Objects can customize their HTML markup equivalent by overriding the
__html__ function.
Since MarkupSafe 0.10 there is now also a separate escape function
called escape_silent that returns an empty string for None for
consistency with other systems that return empty strings for None when
escaping (for instance Pylons' webhelpers).
If you also want to use this for the escape method of the Markup
object, you can create your own subclass. | ||
| Section: | libs/pythonmods | |
| Maintainer: | Kurt Schwehr <goatbarATusersDOTsourceforgeDOTnet> | |
| Website: | http://pypi.python.org/pypi/MarkupSafe | |
| License: | BSD | |
| Info-File: | dists/10.4/stable/main/finkinfo/libs/pythonmods/markupsafe-py.info CVS log, Last Changed: Fri, 11 Nov 2011 03:33:16 (UTC) | |
Section list - Flat package list - Search packages
(*) = Unsupported distribution.