summaryrefslogtreecommitdiff
path: root/app/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--app/__init__.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/__init__.py b/app/__init__.py
index 9a76b6d..61841ca 100644
--- a/app/__init__.py
+++ b/app/__init__.py
@@ -6,6 +6,9 @@ app = Flask('kosten')
# force autoescape in all files
app.jinja_env.autoescape = True
+app.jinja_env.lstrip_blocks = True
+app.jinja_env.trim_blocks = True
+
# load config
app.config.from_pyfile('settings.py')