From 0470acb00e818560b01ae7ae0c9b80a31a3917f0 Mon Sep 17 00:00:00 2001 From: tastytea Date: Sun, 6 Jun 2021 22:37:09 +0200 Subject: [PATCH] Make --raw work again. --- src/search.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/search.cpp b/src/search.cpp index 802e15c..75279f4 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -92,6 +92,10 @@ std::vector search(const fs::path &filepath, { file = cleanup_text(helpers::unescape_html(document)); } + else + { + file.text = document; + } } string::const_iterator begin{file.text.begin()};