summaryrefslogtreecommitdiff
path: root/src/tabs/basetabs.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2014-04-30 00:43:21 +0200
committermathieui <mathieui@mathieui.net>2014-04-30 00:43:21 +0200
commitc3dd20fc745b0f4c8fa402052182b5383afbb7f8 (patch)
treebc4fe8ec4c1604eb106133b5d589e13aa089e8ed /src/tabs/basetabs.py
parent5f0afab060aa84a1cd1a81ade027f80b580a291d (diff)
downloadpoezio-c3dd20fc745b0f4c8fa402052182b5383afbb7f8.tar.gz
poezio-c3dd20fc745b0f4c8fa402052182b5383afbb7f8.tar.bz2
poezio-c3dd20fc745b0f4c8fa402052182b5383afbb7f8.tar.xz
poezio-c3dd20fc745b0f4c8fa402052182b5383afbb7f8.zip
Fix #2510 (link displayed twice in xhtml-im)
- also, fix the /xhtml command that was nesting one <body/> too many
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')