diff --git a/src/plugins/plugin_xep_0277.py b/src/plugins/plugin_xep_0277.py index 4b759b20..dc9ca57c 100755 --- a/src/plugins/plugin_xep_0277.py +++ b/src/plugins/plugin_xep_0277.py @@ -364,8 +364,6 @@ class XEP_0277(object): converted = yield synt.convert(data[attr], synt.getCurrentSyntax(profile), "XHTML") if '{}_xhtml'.format(elem_name) in data: raise failure.Failure(exceptions.DataError(_("Can't have xhtml and rich content at the same time"))) - else: # clean the XHTML input - converted = yield synt.cleanXHTML(data[attr]) xml_content = u'
{converted}
'.format( ns=NS_XHTML,