Browse Source

Jinja: also register restructuredtext as a filter

main
Benoit Allard 13 years ago
parent
commit
38f3afb14e
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      hyde/ext/templates/jinja.py

+ 1
- 0
hyde/ext/templates/jinja.py View File

@@ -610,6 +610,7 @@ class Jinja2Template(Template):
self.env.globals['engine'] = engine
self.env.globals['deps'] = {}
self.env.filters['markdown'] = markdown
self.env.filters['restructuredtext'] = restructuredtext
self.env.filters['syntax'] = syntax
self.env.filters['date_format'] = date_format
self.env.filters['xmldatetime'] = xmldatetime


Loading…
Cancel
Save