diff options
-rw-r--r-- | image/image.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/image/image.py b/image/image.py index 9614ffa..b0a7492 100644 --- a/image/image.py +++ b/image/image.py @@ -128,8 +128,8 @@ class Base(object): msg = 'HTML image' extension = os.path.splitext(os.path.split(path_to_file)[1])[1] \ .lower()[1:] - xhtml = ' <img alt="img" src="data:image/%s;base64,%s"/>' % ( - extension, img) + xhtml = '<body><br/> <img alt="img" src="data:image/%s;base64,%s"/> \ + </body>' % (extension, img) self.chat_control.send_message(message=msg, xhtml=xhtml) self.chat_control.msg_textview.grab_focus() |