« get me outta code hell

content: generateAlbumSidebarTrackSection: don't pre-encode endash - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/content/dependencies
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2023-09-11 14:33:47 -0300
committer(quasar) nebula <qznebula@protonmail.com>2023-09-11 14:33:47 -0300
commit4ac038fce1f99ca12a9bca578fb9d0ffd8482ecd (patch)
tree27ed4c3db6d683ec1fc64675df0090f912c3d1cd /src/content/dependencies
parent1ed6ddbfc682ff36ec85dfe42cdac159d6de0394 (diff)
content: generateAlbumSidebarTrackSection: don't pre-encode endash
Diffstat (limited to 'src/content/dependencies')
-rw-r--r--src/content/dependencies/generateAlbumSidebarTrackSection.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/content/dependencies/generateAlbumSidebarTrackSection.js b/src/content/dependencies/generateAlbumSidebarTrackSection.js
index 2aca6da1..d71b0bdb 100644
--- a/src/content/dependencies/generateAlbumSidebarTrackSection.js
+++ b/src/content/dependencies/generateAlbumSidebarTrackSection.js
@@ -82,7 +82,7 @@ export default {
             (data.hasTrackNumbers
               ? language.$('albumSidebar.trackList.group.withRange', {
                   group: sectionName,
-                  range: `${data.firstTrackNumber}&ndash;${data.lastTrackNumber}`
+                  range: `${data.firstTrackNumber}–${data.lastTrackNumber}`
                 })
               : language.$('albumSidebar.trackList.group', {
                   group: sectionName,