projects
/
mediagoblin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19e2668
)
Don't barf on templates that use the autoescaping extension
author
Christopher Allan Webber
<cwebber@dustycloud.org>
Thu, 1 Dec 2011 21:21:15 +0000
(15:21 -0600)
committer
Christopher Allan Webber
<cwebber@dustycloud.org>
Thu, 1 Dec 2011 21:21:15 +0000
(15:21 -0600)
babel.ini
patch
|
blob
|
blame
|
history
diff --git
a/babel.ini
b/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]