Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
CalculusEntropy committed Jun 22, 2022
2 parents 03d1cde + 8491d7d commit 9e66783
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion hydralit_components/Experimental/experiments.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,9 @@ def _add_injections(new_scripts,new_style_sheets,custom_html,inject_raw_script):
hidden_header.append(new_script)

if inject_raw_script is not None:
hidden_header.append(soup.new_tag('script').append(inject_raw_script))
new_script = soup.new_tag('script')
new_script.append(inject_raw_script)
hidden_header.append(new_script)

# add new stylesheets to heaeder
for sct in new_style_sheets:
Expand Down

0 comments on commit 9e66783

Please sign in to comment.