Fix HTML encoding showing up in title
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Sijmen 2023-05-06 21:48:53 +02:00
parent 88b9378678
commit fcf325da52
Signed by: vijfhoek
GPG Key ID: DAF7821E067D9C48
1 changed files with 2 additions and 2 deletions

View File

@ -59,7 +59,7 @@
<script>
{% if let Some(name) = name %}
document.title = "{{ name }} - Empede";
document.title = decodeURI("{{ name|urlencode }} - Empede");
{% else %}
document.title = "Empede";
{% endif %}
@ -79,4 +79,4 @@
progressBar.style.width = `${progress * 100}%`;
}, 1000);
{% endif %}
</script>
</script>