Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim-plugins.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--image/image.py4
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()