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

@ -372,7 +372,6 @@ class XEP_0277(object):
raise failure.Failure(exceptions.DataError(_("Can't have xhtml and rich content at the same time")))
else: # clean the XHTML input
converted = yield synt.clean_xhtml(data[attr])
converted = xml_tools.expandNewLinesToXHTML(converted)
xml_content = u'<div xmlns="{ns}">{converted}</div>'.format(
ns=NS_XHTML,