mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2024-11-22 19:28:09 -06:00
Removed code from our html parser
This commit is contained in:
parent
2a10f029f0
commit
f24f97baae
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user