Skip to content
Snippets Groups Projects
Commit e5f33d43 authored by Mike Bayer's avatar Mike Bayer
Browse files

- 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
parent bdbbae05
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment