Unescape HTML in titles.
This commit is contained in:
parent
7383a4fcab
commit
4406a8c64d
|
@ -92,7 +92,7 @@ const string URI::extract_title(const string &html)
|
||||||
{
|
{
|
||||||
smatch match;
|
smatch match;
|
||||||
regex_search(html, match, regex("<title>([^<]+)", icase));
|
regex_search(html, match, regex("<title>([^<]+)", icase));
|
||||||
return remove_newlines(match[1].str());
|
return remove_newlines(unescape_html(match[1].str()));
|
||||||
}
|
}
|
||||||
|
|
||||||
return "";
|
return "";
|
||||||
|
|
Loading…
Reference in New Issue