plugin XEP-0071, XEP-0277: method clean_xhtml has been renamed to cleanXHTML

This commit is contained in:
souliane 2016-01-19 11:51:07 +01:00
commit df30ea7a53

View file

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