From 3c6e4af83134ea09b7bc312641d1b27febd5ab0f Mon Sep 17 00:00:00 2001 From: Krzysztof Klinikowski Date: Mon, 3 May 2010 21:33:21 +0200 Subject: Fixes messages formating, newlines in messages now works. --- sunshine/connection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sunshine') diff --git a/sunshine/connection.py b/sunshine/connection.py index d9844b1..d7197d1 100644 --- a/sunshine/connection.py +++ b/sunshine/connection.py @@ -681,7 +681,7 @@ class SunshineConnection(telepathy.server.Connection, if msg.content.html_message: #we need to strip all html tags - text = unescape(stripHTML(msg.content.html_message)) + text = unescape(stripHTML(msg.content.html_message.replace('
', '\n'))) else: text = unescape((msg.content.plain_message).decode('windows-1250')) -- cgit v1.2.3