Add some more missing urlencodes
This commit is contained in:
parent
f3e57a6f4c
commit
6088dde2da
1 changed files with 2 additions and 2 deletions
|
@ -32,7 +32,7 @@
|
||||||
{% match entry %}
|
{% match entry %}
|
||||||
{% when mpd::Entry::Song with { name, path, artist } %}
|
{% when mpd::Entry::Song with { name, path, artist } %}
|
||||||
<li
|
<li
|
||||||
hx-post="/queue?path={{path}}"
|
hx-post="/queue?path={{ path|urlencode }}"
|
||||||
hx-trigger="click,keyup[key=='Enter']"
|
hx-trigger="click,keyup[key=='Enter']"
|
||||||
hx-swap="none"
|
hx-swap="none"
|
||||||
role="button"
|
role="button"
|
||||||
|
@ -40,7 +40,7 @@
|
||||||
>
|
>
|
||||||
<span class="material-symbols-outlined" title="Song">music_note</span>
|
<span class="material-symbols-outlined" title="Song">music_note</span>
|
||||||
<div class="albumart">
|
<div class="albumart">
|
||||||
<img src="/art?path={{path}}" onerror="this.style.visibility = 'hidden'">
|
<img src="/art?path={{ path|urlencode }}" onerror="this.style.visibility = 'hidden'">
|
||||||
</div>
|
</div>
|
||||||
<div class="song">
|
<div class="song">
|
||||||
<div class="song__name">{{ name }}</div>
|
<div class="song__name">{{ name }}</div>
|
||||||
|
|
Loading…
Reference in a new issue