diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2024-01-15 10:11:06 -0400 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2024-01-15 10:11:38 -0400 |
commit | 7428243928735ab89e1fd3d450988269e765d0af (patch) | |
tree | 1277a664900e64a02f9b0d52813b033b5d1c2e54 /src/content/dependencies | |
parent | 6572bd0951d506e4a91366da2ae8d710d5a13a93 (diff) |
content: generateAdditionalNamesBoxItem: sanitize album name
Diffstat (limited to 'src/content/dependencies')
-rw-r--r-- | src/content/dependencies/generateAdditionalNamesBoxItem.js | 3 |
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) { |