Fix HTML encoding showing up in title
All checks were successful
continuous-integration/drone/push Build is passing

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

View file

@ -59,7 +59,7 @@
<script> <script>
{% if let Some(name) = name %} {% if let Some(name) = name %}
document.title = "{{ name }} - Empede"; document.title = decodeURI("{{ name|urlencode }} - Empede");
{% else %} {% else %}
document.title = "Empede"; document.title = "Empede";
{% endif %} {% endif %}