From ff0c0dc1c552b89ff473b6cb5b90229ffa271455 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Mon, 30 May 2011 19:47:05 +0200 Subject: [PATCH] ability to save xhtml messages. Fixes #5736 --- src/chat_control.py | 12 +++++++----- src/common/config.py | 1 + src/common/connection.py | 15 +++++++++------ src/history_window.py | 11 ++++++++--- src/session.py | 6 +++++- 5 files changed, 30 insertions(+), 15 deletions(-) diff --git a/src/chat_control.py b/src/chat_control.py index ead468ba9..201b71389 100644 --- a/src/chat_control.py +++ b/src/chat_control.py @@ -2921,11 +2921,13 @@ class ChatControl(ChatControlBase): small_attr = ['small'] else: small_attr = [] - ChatControlBase.print_conversation_line(self, row[2], kind, name, tim, - small_attr, - small_attr + ['restored_message'], - small_attr + ['restored_message'], - False, old_kind=local_old_kind) + xhtml = None + if row[2].startswith('