Removed code from our html parser

This commit is contained in:
Manuel Cortez 2022-11-11 15:04:14 -06:00
parent 2a10f029f0
commit f24f97baae
No known key found for this signature in database
GPG Key ID: 9E0735CA15EFE790

View File

@ -11,8 +11,6 @@ class HTMLFilter(HTMLParser):
def handle_starttag(self, tag, attrs):
if tag == "br":
self.text = self.text+"\n"
elif tag == "p":
self.text = self.text+"\n\n"
def html_filter(data):
f = HTMLFilter()