diff options
author | mathieui <mathieui@mathieui.net> | 2014-04-30 00:43:21 +0200 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2014-04-30 00:43:21 +0200 |
commit | c3dd20fc745b0f4c8fa402052182b5383afbb7f8 (patch) | |
tree | bc4fe8ec4c1604eb106133b5d589e13aa089e8ed /src/tabs | |
parent | 5f0afab060aa84a1cd1a81ade027f80b580a291d (diff) | |
download | poezio-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')
-rw-r--r-- | src/tabs/basetabs.py | 2 |
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') |