Skip to content

fix(lyrics): decode HTML entities in lyrics text#2824

Merged
mostafaalagamy merged 1 commit intoMetrolistGroup:mainfrom
adrielGGmotion:fix-simpmusic-lyrics
Feb 14, 2026
Merged

fix(lyrics): decode HTML entities in lyrics text#2824
mostafaalagamy merged 1 commit intoMetrolistGroup:mainfrom
adrielGGmotion:fix-simpmusic-lyrics

Conversation

@adrielGGmotion
Copy link
Contributor

Lyrics from SimpMusic (and potentially other providers) contain raw HTML entities like ' instead of apostrophes. Add a decodeHtmlEntities() step in the central parseLyrics() function to handle hex/decimal numeric entities and common named entities (', &, ", etc.).

Remove the now-redundant ' replacement in KuGou's normalize().

Fixes #2816

Lyrics from SimpMusic (and potentially other providers) contain raw HTML
entities like ' instead of apostrophes. Add a decodeHtmlEntities()
step in the central parseLyrics() function to handle hex/decimal numeric
entities and common named entities (', &, ", etc.).

Remove the now-redundant ' replacement in KuGou's normalize().

Fixes MetrolistGroup#2816
@mostafaalagamy mostafaalagamy merged commit 07224a7 into MetrolistGroup:main Feb 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Extra characters in lyrics

2 participants