Thanks to all following PRs.
Closes #156 
Closes #158
This commit is contained in:
Lorenzo Di Fuccia 2019-12-09 12:29:53 +01:00 • committed by GitHub
commit aa46cfbc95
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -153,6 +153,9 @@ class Display:
self.out(output)
def parse_description(self, desc):
if not desc:
return "n/d"
try:
return html.fromstring(desc).text_content()