Filewatcher File Search File Search
Catalog
Content Search
» » » » »

python3-markupsafe

XML/HTML/XHTML Markup safe string for Python3

Variants:
MarkupSafe implements a unicode subclass that supports HTML strings:

>>> from markupsafe import Markup, escape >>> escape("<script>alert(document.cookie);</script>") Markup('<script>alert(document.cookie);</script>') >>> 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')

Homepage:
Package version:0.9.2-3
Architecture:i386
Distribution:Debian
Filename:python3-markupsafe_0.9.2-3_i386.deb

/usr/share/doc/python3-markupsafe/changelog.Debian.gz

markupsafe (0.9.2-3) unstable; urgency=low

  * Rebuild against newer python3-all-dev package (python3.1 now uses
    /usr/lib/python3/), minimum python3-all-dev version bumped to 3.1.2-8
  * Add debian/watch file

 -- Piotr O┼╝arowski <piotr@debian.org>  Sun, 26 Sep 2010 21:44:44 +0200

markupsafe (0.9.2-2) unstable; urgency=low

  * Use ${python3:Depends} in python3-markupsafe{,-dbg} package (cl
more»

/usr/share/doc/python3-markupsafe/copyright

This package was debianized by Piotr O┼╝arowski <piotr@debian.org> on
Wed, 23 Jun 2010 21:26:14 +0200.

It was downloaded from http://pypi.python.org/pypi/MarkupSafe

Copyright (c) 2010 by Armin Ronacher and contributors.  See AUTHORS
for more details.

Some rights reserved.

Redistribution and use in source and binary forms of the software as well
as documentation, with or without modification, a
more»

Browse inside python3-markupsafe_0.9.2-3_i386.deb

         [DIR]DEBIAN/ (4)  65535+ mirrors
         [DIR]usr/ (2)  65535+ mirrors

Download python3-markupsafe_0.9.2-3_i386.deb

Results 1 - 1 of 1
Help - FTP Sites List - Software Dir.
Search over 15 billion files
© 1997-2016 FileWatcher.com