lyrics fetcher: strip html tags from lyrics from lyricsfly.com

This commit is contained in:
Andrzej Rybczak
2010-08-11 14:16:43 +02:00
parent 68a7d11c0e
commit 2a79184108
2 changed files with 3 additions and 3 deletions

View File

@@ -244,8 +244,8 @@ void StripHtmlTags(std::string &s)
s.replace(i, j-i, "");
}
Replace(s, "'", "'");
Replace(s, """, "\"");
Replace(s, "&", "&");
Replace(s, """, "\"");
for (size_t i = 0; i < s.length(); ++i)
{
if (erase)