markupsafe 0.12-2build1 source package in Ubuntu
Changelog
markupsafe (0.12-2build1) oneiric; urgency=low * No change rebuild to drop Python 3.1 support. -- Barry Warsaw <email address hidden> Fri, 03 Jun 2011 14:48:45 -0400
Upload details
- Uploaded by:
- Barry Warsaw
- Uploaded to:
- Oneiric
- Original maintainer:
- Piotr Ożarowski
- Architectures:
- any
- Section:
- python
- Urgency:
- Low Urgency
See full publishing history Publishing
Series | Published | Component | Section |
---|
Downloads
File | Size | SHA-256 Checksum |
---|---|---|
markupsafe_0.12.orig.tar.gz | 10.7 KiB | 2670f759d00b3df50625b493b7bd20f808024dab278eecc2c8b890b4e8083757 |
markupsafe_0.12-2build1.debian.tar.gz | 3.3 KiB | 33ab9966ebeddc3467aaf66c7d9e4b6024526d6614e4614f8cbc9a27547f2037 |
markupsafe_0.12-2build1.dsc | 2.1 KiB | 2131fa04b59d2bd053f40fbace83492403360458dfcd5258a8252e67c04d7373 |
Available diffs
- diff from 0.12-2 to 0.12-2build1 (339 bytes)
Binary packages built by this source
- python-markupsafe: XML/HTML/XHTML Markup safe string for Python
MarkupSafe implements a unicode subclass that supports HTML strings:
.
>>> from markupsafe import Markup, escape
>>> escape("<script> alert(document. cookie) ;</script> ")
Markup(u'<script& gt;alert( document. cookie) ;</script& gt;')
>>> tmpl = Markup("<em>%s< /em>")
>>> tmpl % "Peter > Lustig"
Markup(u'<em>Peter > Lustig</em>')
.
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:
.
>>> from markupsafe import soft_unicode
>>> soft_unicode(42)
u'42'
>>> soft_unicode(Markup( 'foo'))
Markup(u'foo')
- python-markupsafe-dbg: XML/HTML/XHTML Markup safe string for Python
This package contains the extension built for the Python debug interpreter.
- python3-markupsafe: No summary available for python3-markupsafe in ubuntu oneiric.
No description available for python3-markupsafe in ubuntu oneiric.
- python3-markupsafe-dbg: No summary available for python3-markupsafe-dbg in ubuntu oneiric.
No description available for python3-
markupsafe- dbg in ubuntu oneiric.