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:
parent
2df5519eda
commit
7e9833b921
1 changed files with 0 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue