Skip to content

Commit

Permalink
Use Markup for htmlcontent for landing_times (#9242)
Browse files Browse the repository at this point in the history
(cherry picked from commit dcf6576)
  • Loading branch information
kaxil committed Jul 1, 2020
1 parent 1663760 commit 6f23740
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion airflow/www/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -2022,7 +2022,7 @@ def landing_times(self, session=None):
return self.render(
'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,
Expand Down
2 changes: 1 addition & 1 deletion airflow/www_rbac/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -1890,7 +1890,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,
Expand Down

0 comments on commit 6f23740

Please sign in to comment.