Skip to content

Commit

Permalink
Replace spaces with underscores in media_id variable
Browse files Browse the repository at this point in the history
  • Loading branch information
ManuelLerchner committed Jan 30, 2024
1 parent 5d75bd8 commit 17ce25e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions html-renderer/render_to_html.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ def render_content():
full_path = sheet + "/submission/" + file

media_id = sheet + "#" + file
media_id = media_id.replace(" ", "_")

if file.endswith(".png"):
media = content_template
Expand Down

0 comments on commit 17ce25e

Please sign in to comment.