aboutsummaryrefslogtreecommitdiff
path: root/office/vmd/vmd.img.patch
diff options
context:
space:
mode:
authorRicardo J. Barberis <ricardo.barberis@gmail.com>2019-08-25 08:13:43 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-08-25 08:13:43 +0700
commitd0eaddebf558bab4a61b0f4afb2392a2c29c1f0f (patch)
treec91ed88bc3398bb1ab948edf2d03685b4cbc8336 /office/vmd/vmd.img.patch
parentf4b75d1777b8e2adebbdd5385e227237a0c2e367 (diff)
office/vmd: Added (Terminal Markdown Viewer).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office/vmd/vmd.img.patch')
-rw-r--r--office/vmd/vmd.img.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/office/vmd/vmd.img.patch b/office/vmd/vmd.img.patch
new file mode 100644
index 0000000000000..374746855040d
--- /dev/null
+++ b/office/vmd/vmd.img.patch
@@ -0,0 +1,13 @@
+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)