diff --git a/app/utils.py b/app/utils.py index 563c95b9..a0c8b5b0 100644 --- a/app/utils.py +++ b/app/utils.py @@ -244,6 +244,8 @@ def microblog_content_to_title(html: str) -> str: continue else: tag = tag.extract() + else: + tag = tag.extract() if title_found: result = soup.text