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 <br /> e.g. in messages from Movim
This commit is contained in:
souliane 2015-12-10 15:14:23 +01:00
commit 7e9833b921

View file

@ -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)