Merge branch 'large-html-to-text-error-200-blank' of github.com:dgtlmoon/changedetection.io into large-html-to-text-error-200-blank

This commit is contained in:
dgtlmoon
2026-02-17 16:42:09 +01:00
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -586,6 +586,7 @@ def html_to_text(html_content: str, render_anchor_tag_content=False, is_rss=Fals
html_content = re.sub(body_style_pattern, r'\1', html_content, flags=re.IGNORECASE)
text_content = get_text(html_content, config=parser_config)
return text_content
@@ -452,6 +452,7 @@ class TestHtmlToText(unittest.TestCase):
print(" ✓ Tag closing validation test passed")
if __name__ == '__main__':
# Can run this file directly for quick testing
unittest.main()