Fix HTML entity decoding in now playing titles
- Use plump:decode-entities to decode HTML entities (&, ", etc.) in track titles from Icecast XML - Fixes display of artist names and track titles containing ampersands and other special characters - One-line fix using existing plump library dependency
This commit is contained in:
parent
c53ee7d82a
commit
0805d8e9fa
|
|
@ -30,7 +30,7 @@
|
||||||
(multiple-value-bind (match groups)
|
(multiple-value-bind (match groups)
|
||||||
(cl-ppcre:scan-to-strings "<title>(.*?)</title>" source-section)
|
(cl-ppcre:scan-to-strings "<title>(.*?)</title>" source-section)
|
||||||
(if (and match groups)
|
(if (and match groups)
|
||||||
(aref groups 0)
|
(plump:decode-entities (aref groups 0))
|
||||||
"Unknown")))
|
"Unknown")))
|
||||||
"Unknown")))
|
"Unknown")))
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue