From edd9b499e1813a7fdd27000630b732afe421b598 Mon Sep 17 00:00:00 2001 From: mathieui Date: Fri, 24 Feb 2017 19:22:31 +0100 Subject: Force xmlns when parsing self-generated xhtml-im (Fix #3274) --- poezio/tabs/basetabs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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') -- cgit v1.2.3