slackbuilds_ponce/office/vmd/vmd.img.patch
Ricardo J. Barberis d0eaddebf5
office/vmd: Added (Terminal Markdown Viewer).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2019-08-25 08:13:43 +07:00

13 lines
533 B
Diff

diff --git a/vmd/parser.py b/vmd/parser.py
index 2f4f992..df18d07 100644
--- a/vmd/parser.py
+++ b/vmd/parser.py
@@ -81,6 +81,8 @@ class TreeBuilder(HTMLParser):
self.current_element.add_child(HorizontalRule())
elif tag == 'blockquote':
self.new_element(tag, Blockquote())
+ elif tag == 'img':
+ pass
else:
self.logger.warning('Unhandled tag type \'%s\' found in %s', tag, self.current_element.tag_ancestry())
self.unknown_tag_stack.append(tag)