Un-escape named and numbered entities in documents before searching.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
8a9be5d45b
commit
76ed0c9dbf
|
@ -79,6 +79,7 @@ std::vector<match> search(const fs::path &filepath,
|
||||||
if (!opts.raw)
|
if (!opts.raw)
|
||||||
{
|
{
|
||||||
cleanup_text(document);
|
cleanup_text(document);
|
||||||
|
document = helpers::unescape_html(document);
|
||||||
}
|
}
|
||||||
|
|
||||||
string::const_iterator begin{document.begin()};
|
string::const_iterator begin{document.begin()};
|
||||||
|
|
Loading…
Reference in New Issue
Block a user