Don't barf on templates that use the autoescaping extension
authorChristopher Allan Webber <cwebber@dustycloud.org>
Thu, 1 Dec 2011 21:21:15 +0000 (15:21 -0600)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Thu, 1 Dec 2011 21:21:15 +0000 (15:21 -0600)
babel.ini

index a4e3267a6d9165ce87ec415c42b745b193a0961c..1a8231f5a15e06e0c66c0e66028d30161f62adc9 100644 (file)
--- a/babel.ini
+++ b/babel.ini
@@ -4,9 +4,12 @@
 [jinja2: mediagoblin/templates/**.html]
 # Extract jinja templates (html)
 encoding = utf-8
+extensions = jinja2.ext.autoescape
+
 [jinja2: mediagoblin/templates/**.txt]
 # Extract jinja templates (text)
 encoding = utf-8
+extensions = jinja2.ext.autoescape
 
 # # Extraction from JavaScript files
 # [javascript: mediagoblin/static/js/**.js]