diff --git a/web/pgadmin/__init__.py b/web/pgadmin/__init__.py index 0b5273504..890aff51b 100644 --- a/web/pgadmin/__init__.py +++ b/web/pgadmin/__init__.py @@ -95,6 +95,8 @@ def create_app(app_name=config.APP_NAME): """Create the Flask application, startup logging and dynamically load additional modules (blueprints) that are found in this directory.""" app = PgAdmin(__name__, static_url_path='/static') + # Removes unwanted whitespace from render_template function + app.jinja_env.trim_blocks = True app.config.from_object(config) ##########################################################################