From e485feb6d265ce10e8474e7d5f5b24562868ac52 Mon Sep 17 00:00:00 2001 From: Kaxil Naik Date: Fri, 12 Jun 2020 02:01:31 +0100 Subject: [PATCH] Use Markup for htmlcontent for landing_times --- airflow/www/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/airflow/www/views.py b/airflow/www/views.py index f31c0b1f42e3a..ea0d97f9dec56 100644 --- a/airflow/www/views.py +++ b/airflow/www/views.py @@ -1869,7 +1869,7 @@ def landing_times(self, session=None): return self.render_template( 'airflow/chart.html', dag=dag, - chart=chart.htmlcontent, + chart=Markup(chart.htmlcontent), height=str(chart_height + 100) + "px", demo_mode=conf.getboolean('webserver', 'demo_mode'), root=root,