diff options
author | Florrie <towerofnix@gmail.com> | 2019-11-14 23:41:10 -0400 |
---|---|---|
committer | Florrie <towerofnix@gmail.com> | 2019-11-14 23:41:10 -0400 |
commit | fcab76bfecb174e6fded906d6d2f2b74cf3ffb82 (patch) | |
tree | 4f022d156efd200e9a89a30e33fef5d929c1ff33 /upd8.js | |
parent | 7623fd1ac8f9df65658e5886f595f656e09eda08 (diff) |
add three more albums
just another trio - the recent ones - to go, and then all the albums are here!
Diffstat (limited to 'upd8.js')
-rw-r--r-- | upd8.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/upd8.js b/upd8.js index ac346ef6..43069f30 100644 --- a/upd8.js +++ b/upd8.js @@ -668,7 +668,7 @@ function getArtistDirectory(artistName) { } function getKebabCase(name) { - return name.split(' ').join('-').replace(/[^a-zA-Z0-9\-]/g, '').replace(/-{2,}/g, '-').replace(/^-+|-+$/g, '').toLowerCase(); + return name.split(' ').join('-').replace(/&/g, 'and').replace(/[^a-zA-Z0-9\-]/g, '').replace(/-{2,}/g, '-').replace(/^-+|-+$/g, '').toLowerCase(); } function generateSidebarForAlbum(album, currentTrack = null) { |