summaryrefslogtreecommitdiff
path: root/searx/webapp.py
diff options
context:
space:
mode:
Diffstat (limited to 'searx/webapp.py')
-rw-r--r--searx/webapp.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/searx/webapp.py b/searx/webapp.py
index b12a08db5..13c965e0d 100644
--- a/searx/webapp.py
+++ b/searx/webapp.py
@@ -81,6 +81,8 @@ app = Flask(
template_folder=templates_path
)
+app.jinja_env.trim_blocks = True
+app.jinja_env.lstrip_blocks = True
app.secret_key = settings['server']['secret_key']
babel = Babel(app)