tools, plugins XEP-0071, XEP-0277: remove recently added expandNewLinesToXHTML, just leave it to the convertors

This commit is contained in:
souliane 2015-12-15 20:29:19 +01:00
commit 3cc6e41ad6

View file

@ -119,7 +119,6 @@ class XEP_0071(object):
raise exceptions.DataError(_("Can't have xhtml and rich content at the same time"))
if xhtml:
d = self.synt_plg.clean_xhtml(xhtml)
d.addCallback(xml_tools.expandNewLinesToXHTML)
d.addCallback(syntax_converted)
return d