mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Remove any unwanted white-spaces while renderting any template in template code
This commit is contained in:
parent
1391003e03
commit
5f890dadc9
@ -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)
|
||||
|
||||
##########################################################################
|
||||
|
Loading…
Reference in New Issue
Block a user