Decode HTML entities in lyrics
This commit is contained in:
@@ -650,11 +650,17 @@ QStringList Updateify(const QStringList &list) {
|
||||
QString DecodeHtmlEntities(const QString &text) {
|
||||
|
||||
QString copy(text);
|
||||
copy.replace("&", "&");
|
||||
copy.replace(""", "\"");
|
||||
copy.replace("'", "'");
|
||||
copy.replace("<", "<");
|
||||
copy.replace(">", ">");
|
||||
copy.replace("&", "&")
|
||||
.replace("&", "&")
|
||||
.replace(""", "\"")
|
||||
.replace(""", "\"")
|
||||
.replace("'", "'")
|
||||
.replace("'", "'")
|
||||
.replace("<", "<")
|
||||
.replace("<", "<")
|
||||
.replace(">", ">")
|
||||
.replace(">", ">");
|
||||
|
||||
return copy;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user