diff --git a/javascripts/collection.js b/javascripts/collection.js
index 2b25945..9e222d2 100644
--- a/javascripts/collection.js
+++ b/javascripts/collection.js
@@ -43,7 +43,10 @@ Vue.createApp({
},
methods: {
formatParams(param) {
- return param.replace("&", "%26").replace("+", "%2B");
+ return param
+ .replace("&", "%26")
+ .replace("+", "%2B")
+ .replace('"', "%22");
},
fetch() {
this.loading = true;
@@ -63,7 +66,7 @@ Vue.createApp({
const [key, value] = entry;
switch (key) {
case "artists_sort":
- this.artist = value;
+ this.artist = value.replaceAll('"', "%22");
break;
default:
if (["order", "sort"].indexOf(key) !== -1) {
diff --git a/views/components/filters/artist.ejs b/views/components/filters/artist.ejs
index 4d806a5..e0a919d 100644
--- a/views/components/filters/artist.ejs
+++ b/views/components/filters/artist.ejs
@@ -4,7 +4,7 @@
<%
for (let i = 0; i < page.artists.length; i += 1 ) {
- __append(``);
+ __append(``);
}
%>