commit | e5f33d4302b9985fb30b61618d862ce4893acd72 | [log] [tgz] |
---|---|---|
author | Mike Bayer <mike_mp@zzzcomputing.com> | Wed Feb 21 02:20:56 2007 +0000 |
committer | Mike Bayer <mike_mp@zzzcomputing.com> | Wed Feb 21 02:20:56 2007 +0000 |
tree | 792c5c015b81d267e532c846a9d971d853caea4e | |
parent | bdbbae05fa3c4315da1472ca77296b4cf3f96a88 [diff] |
- added "preprocessor" argument to Template, TemplateLookup - is a single callable or list of callables which will be applied to the template text before lexing. given the text as an argument, returns the new text. - added mako.ext.preprocessors package, contains one preprocessor so far: 'convert_comments', which will convert single # comments to the new ## format