diff --git a/src/core/files.py b/src/core/files.py index 8ea383ab70..047351baab 100755 --- a/src/core/files.py +++ b/src/core/files.py @@ -930,7 +930,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