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' % ( - extension, img) + xhtml = '
img \ + ' % (extension, img) self.chat_control.send_message(message=msg, xhtml=xhtml) self.chat_control.msg_textview.grab_focus()