Fix HTML encoding showing up in title
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
88b9378678
commit
fcf325da52
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue