« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/content/dependencies/generateAdditionalNamesBoxItem.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/content/dependencies/generateAdditionalNamesBoxItem.js b/src/content/dependencies/generateAdditionalNamesBoxItem.js
index bb4c8477..189550c2 100644
--- a/src/content/dependencies/generateAdditionalNamesBoxItem.js
+++ b/src/content/dependencies/generateAdditionalNamesBoxItem.js
@@ -53,7 +53,8 @@ export default {
             trackLink: relations.trackLinks,
             albumName: data.albumNames,
           }).map(({trackLink, albumName}) =>
-              trackLink.slot('content', albumName)));
+              trackLink.slot('content',
+                language.sanitize(albumName))));
     }
 
     if (accentParts.length > 2) {