diff options
| author | Adam Tauber <asciimoo@gmail.com> | 2015-02-16 15:58:34 +0100 |
|---|---|---|
| committer | Adam Tauber <asciimoo@gmail.com> | 2015-02-16 15:58:34 +0100 |
| commit | 73e9a3585167ae6e4f27b1013c53780c22623824 (patch) | |
| tree | 10fa8f170f9e27ca905d12acef8067bb552a06ef /searx/webapp.py | |
| parent | 2c4631292f1f07ac08c84b5e05dbc4eca2d8dee0 (diff) | |
| parent | f7b052c3542e7887aa23c48f3aa486b842e87292 (diff) | |
Merge pull request #241 from Cqoicebordel/Remove-whitespace
Remove whitespace and allow autocompleter to work in sub folders
Diffstat (limited to 'searx/webapp.py')
| -rw-r--r-- | searx/webapp.py | 2 |
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) |