diff --git a/emoticons_pack/emoticons_pack.py b/emoticons_pack/emoticons_pack.py
index 9bbd56f..94d0687 100644
--- a/emoticons_pack/emoticons_pack.py
+++ b/emoticons_pack/emoticons_pack.py
@@ -184,7 +184,7 @@ class EmoticonsPackPlugin(GajimPlugin):
desc = '
' + \
desc + ' '
desc = desc.replace('preview.image', ('file:' + os.path.join(
- self.tmp_dir, name, 'preview.png')))
+ self.tmp_dir, name, 'preview.png'))).replace('\n', '
')
self.emoticons_description_textview.tv.display_html(
desc, self.emoticons_description_textview)
self.emoticons_description_textview.tv.set_property(
diff --git a/plugin_installer/plugin_installer.py b/plugin_installer/plugin_installer.py
index c6be6b5..cf1962a 100644
--- a/plugin_installer/plugin_installer.py
+++ b/plugin_installer/plugin_installer.py
@@ -374,6 +374,7 @@ class PluginInstaller(GajimPlugin):
if not desc.startswith('' + \
desc + ' '
+ desc = desc.replace('\n', '
')
self.plugin_description_textview.tv.display_html(
desc, self.plugin_description_textview)
self.plugin_description_textview.tv.set_property('sensitive', True)