From d085f0973403a987cd321cc1957b747b4f0a617b Mon Sep 17 00:00:00 2001 From: Andy Byers Date: Thu, 1 Sep 2022 10:32:20 +0100 Subject: [PATCH] #3109 full text indexing will now work as expected for documents with a tag. --- src/core/files.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/files.py b/src/core/files.py index bf006c440d..4ae0002724 100755 --- a/src/core/files.py +++ b/src/core/files.py @@ -929,7 +929,7 @@ def html_to_text(file_path): soup = BeautifulSoup(f.read(), "html.parser") body = soup.find("body") if body: - body.text + text = body.text else: text = soup.text