Un-escape named and numbered entities in documents before searching.
continuous-integration/drone/push Build is passing Details

This commit is contained in:
tastytea 2021-05-30 23:32:35 +02:00
parent 8a9be5d45b
commit 76ed0c9dbf
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 1 additions and 0 deletions

View File

@ -79,6 +79,7 @@ std::vector<match> search(const fs::path &filepath,
if (!opts.raw)
{
cleanup_text(document);
document = helpers::unescape_html(document);
}
string::const_iterator begin{document.begin()};