terminal_markdown_viewer
terminal_markdown_viewer copied to clipboard
HTMLParser.unescape in python 3.9
Hi. In python 3.9.0 HTMLParser.unescape was removed so the app throws error when trying to parse:
$python3 --version
Python 3.9.5
and:
File ".../mdv/markdownviewer.py", line 970, in formatter
t = html_parser.unescape(t)
AttributeError: 'HTMLParser' object has no attribute 'unescape'
After searching a few forums, I came to know that in python 3.9.0 HTMLParser.unescape was removed
Possible duplicate of #86 https://github.com/axiros/terminal_markdown_viewer/issues/86#issuecomment-774416153
the same issue is here.. :|