Fix: Some SPA's also set body content to display: none which breaks text output

This commit is contained in:
dgtlmoon
2026-02-17 15:37:35 +01:00
parent c6f9fb922d
commit 46a898ffda
3 changed files with 92 additions and 0 deletions
@@ -347,6 +347,7 @@ class ContentProcessor:
def extract_text_from_html(self, html_content, stream_content_type):
"""Convert HTML to plain text."""
do_anchor = self.datastore.data["settings"]["application"].get("render_anchor_tag_content", False)
return html_tools.html_to_text(
html_content=html_content,
render_anchor_tag_content=do_anchor,