From 7e9833b9219cda8419c57c6dde0b636835581158 Mon Sep 17 00:00:00 2001 From: souliane Date: Thu, 10 Dec 2015 15:14:23 +0100 Subject: [PATCH] plugin XEP-0277: revert use of expandNewLinesToXHTML for incoming messages: - this was here for retro-compatibility with messages previously posted from Libervia - but this is not appropriate and will add some extra
e.g. in messages from Movim --- src/plugins/plugin_xep_0277.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/plugins/plugin_xep_0277.py b/src/plugins/plugin_xep_0277.py index ef77f3d7..5f6d2f97 100755 --- a/src/plugins/plugin_xep_0277.py +++ b/src/plugins/plugin_xep_0277.py @@ -184,7 +184,6 @@ class XEP_0277(object): data = xml_tools.decapsulateDomishContent(data_elt) microblog_data[key] = yield self.host.plugins["TEXT-SYNTAXES"].clean_xhtml(data) - microblog_data[key] = xml_tools.expandNewLinesToXHTML(microblog_data[key]) else: key = check_conflict(elem.name) microblog_data[key] = unicode(elem)