This commit is contained in:
Tulir Asokan
2018-07-25 11:53:31 -04:00
parent d5f6e45363
commit c08659c75a
4 changed files with 8 additions and 8 deletions
@@ -38,7 +38,7 @@ def parse_html(html: str) -> ParsedMessage:
class MatrixParser(HTMLParser, MatrixParserCommon):
def __init__(self):
super(HTMLParser, self).__init__()
super(MatrixParser, self).__init__()
self.text = "" # type: str
self.entities = [] # type: List[TypeMessageEntity]
self._building_entities = {} # type: Dict[str, TypeMessageEntity]