summaryrefslogtreecommitdiff
path: root/src/tabs/basetabs.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/tabs/basetabs.py')
-rw-r--r--src/tabs/basetabs.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/tabs/basetabs.py b/src/tabs/basetabs.py
index ed40ce4a..f16e3f93 100644
--- a/src/tabs/basetabs.py
+++ b/src/tabs/basetabs.py
@@ -556,8 +556,6 @@ class ChatTab(Tab):
return
try:
body = xhtml.clean_text(xhtml.xhtml_to_poezio_colors(arg))
- # The <body /> element is the only allowable child of the <xhtm-im>
- arg = "<body xmlns='http://www.w3.org/1999/xhtml'>%s</body>" % (arg,)
ET.fromstring(arg)
except:
self.core.information('Could not send custom xhtml', 'Error')