lyricwiki fetcher: trim and strip output from html tags
This commit is contained in:
@@ -119,6 +119,8 @@ LyricsFetcher::Result LyricwikiFetcher::fetch(const std::string &artist, const s
|
|||||||
}
|
}
|
||||||
|
|
||||||
Replace(data, "<br />", "\n");
|
Replace(data, "<br />", "\n");
|
||||||
|
StripHtmlTags(data);
|
||||||
|
Trim(data);
|
||||||
|
|
||||||
result.second = unescapeHtmlUtf8(data);
|
result.second = unescapeHtmlUtf8(data);
|
||||||
result.first = true;
|
result.first = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user