From 76ed0c9dbfe3ea116994b6b2d231991bb06c727c Mon Sep 17 00:00:00 2001 From: tastytea Date: Sun, 30 May 2021 23:32:35 +0200 Subject: [PATCH] Un-escape named and numbered entities in documents before searching. --- src/search.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/search.cpp b/src/search.cpp index 57aa147..1be5c92 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -79,6 +79,7 @@ std::vector search(const fs::path &filepath, if (!opts.raw) { cleanup_text(document); + document = helpers::unescape_html(document); } string::const_iterator begin{document.begin()};