Merge branch 'master' into large-html-to-text-error-200-blank

This commit is contained in:
dgtlmoon
2026-02-17 15:38:36 +01:00
committed by GitHub
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -585,6 +585,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
@@ -363,6 +363,7 @@ class TestHtmlToText(unittest.TestCase):
print(" ✓ All display:none body tag tests passed")
if __name__ == '__main__':
# Can run this file directly for quick testing
unittest.main()