Removed code from our html parser

This commit is contained in:
2022-11-11 15:04:14 -06:00
parent 2a10f029f0
commit f24f97baae

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()