diff src/plugins/plugin_xep_0071.py @ 1750:6fd0881fe1fc

tools, plugins XEP-0071, XEP-0277: remove recently added expandNewLinesToXHTML, just leave it to the convertors
author souliane <souliane@mailoo.org>
date Tue, 15 Dec 2015 20:29:19 +0100
parents cf11cfc87ef9
children d17772b0fe22
line wrap: on
line diff
--- a/src/plugins/plugin_xep_0071.py	Tue Dec 15 20:05:27 2015 +0100
+++ b/src/plugins/plugin_xep_0071.py	Tue Dec 15 20:29:19 2015 +0100
@@ -119,7 +119,6 @@
                 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