fix: replace ampersand + (landing page): fix image preview

This commit is contained in:
Conrad
2021-06-20 16:51:54 -04:00
parent 5e2e082eaa
commit ba91b8cb3a
2 changed files with 2 additions and 9 deletions

View File

@@ -295,7 +295,7 @@ const renderCard = async (body: LanyardTypes.Root, params: Parameters): Promise<
white-space: nowrap;
text-overflow: ellipsis;
color: ${theme === 'dark' ? '#ccc' : '#777'};
">By ${body.data.spotify.artist.replace(/\;/g, ",")}</p>
">By ${body.data.spotify.artist.replace(/\;/g, ",").replace(/\&/g, "and")}</p>
</div>
</div>
`