python-markupsafe binary package in Ubuntu Precise amd64

 MarkupSafe implements a unicode subclass that supports HTML strings:
 .
  >>> from markupsafe import Markup, escape
  >>> escape("<script>alert(document.cookie);</script>")
  Markup(u'&lt;script&gt;alert(document.cookie);&lt;/script&gt;')
  >>> tmpl = Markup("<em>%s</em>")
  >>> tmpl % "Peter > Lustig"
  Markup(u'<em>Peter &gt; 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')

Publishing history

Date Status Target Pocket Component Section Priority Phased updates Version
  2011-10-17 13:04:44 UTC Published Ubuntu Precise amd64 release main python Optional 0.15-1
  • Published
  2011-10-17 13:11:41 UTC Superseded Ubuntu Precise amd64 release main python Optional 0.12-2build1
  • Removed from disk .
  • Removal requested .
  • Superseded by amd64 build of markupsafe 0.15-1 in ubuntu precise RELEASE
  • Published
  • Copied from ubuntu oneiric-release amd64 in Primary Archive for Ubuntu