Home | Trees | Indices | Help |
|
---|
|
object --+ | basestring --+ | unicode --+ | Markup
Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Markup |
|
||
Markup |
|
||
Markup |
|
||
unicode
|
|
||
Inherited from Inherited from |
Class Methods | |||
Markup |
|
Properties | |
Inherited from |
Method Details |
|
|
|
|
|
Create a Markup instance from a string and escape special characters it may contain (<, >, & and "). >>> escape('"1 < 2"') <Markup u'"1 < 2"'> If the >>> escape('"1 < 2"', quotes=False) <Markup u'"1 < 2"'> |
Return a Markup object which is the concatenation of the strings in the given sequence, where this Markup object is the separator between the joined elements. Any element in the sequence that is not a Markup instance is automatically escaped.
See Also: escape |
Return a copy of the text with any character or numeric entities replaced by the equivalent UTF-8 characters. If the See Also: genshi.util.stripentities |
See Also: genshi.util.striptags |
Reverse-escapes &, <, >, and " and returns a >>> Markup('1 < 2').unescape() u'1 < 2'
See Also: genshi.core.unescape |
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu Apr 22 14:10:36 2010 | http://epydoc.sourceforge.net |