Skip to content

Commit

Permalink
Fix <script> tags string concat for Plotly output.
Browse files Browse the repository at this point in the history
  • Loading branch information
cdubz committed May 29, 2019
1 parent 3ba58c9 commit 2f8bc83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reports/utils.py
Expand Up @@ -86,7 +86,7 @@ def split_graph_output(output):
"""
try:
html, js_graph, js_listener = output.split('<script')
js = js_graph + js_listener
js = js_graph + '<script' + js_listener
except ValueError:
html, js = output.split('<script')
js = '<script' + js
Expand Down

0 comments on commit 2f8bc83

Please sign in to comment.