Home | Trees | Indices | Help |
|
---|
|
object --+ | basestring --+ | unicode --+ | Markup
Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from |
Class Methods | |||
|
Static Methods | |||
|
Properties | |
Inherited from |
Method Details |
|
|
|
|
|
|
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 |
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"'>
See Also: genshi.core.escape |
Reverse-escapes &, <, >, and " and returns a >>> Markup('1 < 2').unescape() u'1 < 2' See Also: genshi.core.unescape |
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 |
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0beta1 on Mon Apr 16 16:02:13 2007 | http://epydoc.sourceforge.net |