diff options
Diffstat (limited to 'sunshine')
-rw-r--r-- | sunshine/connection.py | 2 |
1 files changed, 1 insertions, 1 deletions
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('<br>', '\n'))) else: text = unescape((msg.content.plain_message).decode('windows-1250')) |