summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2017-02-24 19:22:31 +0100
committermathieui <mathieui@mathieui.net>2017-02-24 19:23:04 +0100
commitedd9b499e1813a7fdd27000630b732afe421b598 (patch)
treecfbfb906b591883b8ebb35cc82d007c0c877bcd3
parent8a62ae7ad844930bcdcbcadbfede83bbdbb59ccd (diff)
downloadpoezio-edd9b499e1813a7fdd27000630b732afe421b598.tar.gz
poezio-edd9b499e1813a7fdd27000630b732afe421b598.tar.bz2
poezio-edd9b499e1813a7fdd27000630b732afe421b598.tar.xz
poezio-edd9b499e1813a7fdd27000630b732afe421b598.zip
Force xmlns when parsing self-generated xhtml-im (Fix #3274)
-rw-r--r--poezio/tabs/basetabs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/poezio/tabs/basetabs.py b/poezio/tabs/basetabs.py
index 95846ef4..2f6be22b 100644
--- a/poezio/tabs/basetabs.py
+++ b/poezio/tabs/basetabs.py
@@ -549,7 +549,7 @@ class ChatTab(Tab):
if not arg:
return
try:
- body = xhtml.clean_text(xhtml.xhtml_to_poezio_colors(arg))
+ body = xhtml.clean_text(xhtml.xhtml_to_poezio_colors(arg, force=True))
ET.fromstring(arg)
except:
self.core.information('Could not send custom xhtml', 'Error')