mostly support python 3.7, handle API rich text
This commit is contained in:
@@ -188,7 +188,7 @@ class HTMLTextParser(HTMLParser):
|
|||||||
self.text.append(Text(data))
|
self.text.append(Text(data))
|
||||||
|
|
||||||
def handle_endtag(self, tag):
|
def handle_endtag(self, tag):
|
||||||
data = self.text.pop()
|
data = self.text.pop() if len(self.text) > 0 else Text("")
|
||||||
Class = self.tag_stack.pop()
|
Class = self.tag_stack.pop()
|
||||||
|
|
||||||
if tag == 'ul' or tag =='ol':
|
if tag == 'ul' or tag =='ol':
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
asana==0.7.0
|
asana==0.8.2
|
||||||
python-dateutil==2.6.1
|
python-dateutil==2.8.0
|
||||||
urwid==2.0.1
|
urwid==2.0.1
|
||||||
|
|||||||
Reference in New Issue
Block a user