markupsafe 0.9.2-3build2 source package in Bilimbi Test
Changelog
markupsafe (0.9.2-3build2) natty; urgency=low * No-change rebuild to prefer python2.7. -- Martin Pitt <email address hidden> Wed, 22 Dec 2010 09:39:27 +0100
Upload details
- Uploaded by:
- Martin Pitt
- Uploaded to:
- Natty
- Original maintainer:
- Piotr Ożarowski
- Architectures:
- any
- Section:
- python
- Urgency:
- Low Urgency
See full publishing history Publishing
Series | Published | Component | Section | |
---|---|---|---|---|
Angry Aardvark | release | universe | python |
Downloads
File | Size | SHA-256 Checksum |
---|---|---|
markupsafe_0.9.2.orig.tar.gz | 10.2 KiB | d2a1980ea5bae80a999dad6aafe1ad2f0440522630caeecb84ffe061c8054342 |
markupsafe_0.9.2-3build2.debian.tar.gz | 3.3 KiB | cdd94ea643b10f7ef28451412dd1c8f2462db21310b0cd1ad848f6fe322089df |
markupsafe_0.9.2-3build2.dsc | 2.1 KiB | 76be94fe873176b3811cfac662c91eae449f66aca8f81df47775fe35fe34769c |
Available diffs
- diff from 0.9.2-3build1 to 0.9.2-3build2 (334 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: XML/HTML/XHTML Markup safe string for Python3
MarkupSafe implements a unicode subclass that supports HTML strings:
.
>>> from markupsafe import Markup, escape
>>> escape("<script> alert(document. cookie) ;</script> ")
Markup('<script& gt;alert( document. cookie) ;</script& gt;')
>>> tmpl = Markup("<em>%s< /em>")
>>> tmpl % "Peter > Lustig"
Markup('<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)
'42'
>>> soft_unicode(Markup( 'foo'))
Markup('foo')
- python3-markupsafe-dbg: XML/HTML/XHTML Markup safe string for Python3
This package contains the extension built for the Python3 debug interpreter.