more html special chars replacements
This commit is contained in:
@@ -91,6 +91,10 @@ string GetLyrics(string artist, string song)
|
|||||||
result.replace(i, 6, "'");
|
result.replace(i, 6, "'");
|
||||||
for (int i = result.find("""); i != string::npos; i = result.find("""))
|
for (int i = result.find("""); i != string::npos; i = result.find("""))
|
||||||
result.replace(i, 6, "\"");
|
result.replace(i, 6, "\"");
|
||||||
|
for (int i = result.find("<"); i != string::npos; i = result.find("<"))
|
||||||
|
result.replace(i, 4, "<");
|
||||||
|
for (int i = result.find(">"); i != string::npos; i = result.find(">"))
|
||||||
|
result.replace(i, 4, ">");
|
||||||
|
|
||||||
std::ofstream output(fullpath.c_str());
|
std::ofstream output(fullpath.c_str());
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user