diff --git a/posts.py b/posts.py index 6e4238c85..11a4793dc 100644 --- a/posts.py +++ b/posts.py @@ -223,7 +223,8 @@ def no_of_followers_on_domain(base_dir: str, handle: str, def _clean_html(raw_html: str) -> str: - # text=BeautifulSoup(raw_html, 'html.parser').get_text() + """Remove escape codes from html string + """ text = raw_html return html.unescape(text)