Unescape HTML in titles.

This commit is contained in:
tastytea 2019-07-21 16:25:13 +02:00
parent 7383a4fcab
commit 4406a8c64d
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 1 additions and 1 deletions

View File

@ -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 "";