Home | Trees | Index | Help |
|
---|
Package lemon :: Package external :: Package Cheetah :: Module Filters :: Class StripSqueeze |
|
Filter
--+
|
StripSqueeze
Canonicalizes every chunk of whitespace to a single space. Strips leading/trailing whitespace. Removes all newlines, so multi-line input is joined into one ling line with NO trailing newline.
Method Summary | |
---|---|
Replace None with an empty string. | |
Inherited from Filter | |
Setup a ref to the templateObj. | |
This hook allows the filters to generate an arg-list that will be appended to the arg-list of a $placeholder tag when it is being translated into Python code during the template compilation process. |
Method Details |
---|
filter(self, val, **kw)Replace None with an empty string. Reimplement this method if you want more advanced filterting.
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.0 on Mon Nov 10 15:07:48 2003 | http://epydoc.sf.net |