summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--changes/bug_3151-parse-return-in-logger1
-rw-r--r--src/leap/gui/loggerwindow.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/changes/bug_3151-parse-return-in-logger b/changes/bug_3151-parse-return-in-logger
new file mode 100644
index 00000000..734588aa
--- /dev/null
+++ b/changes/bug_3151-parse-return-in-logger
@@ -0,0 +1 @@
+ o Bugfix: parse line return in the logger window. Closes #3151.
diff --git a/src/leap/gui/loggerwindow.py b/src/leap/gui/loggerwindow.py
index dd724ac7..dc1e273d 100644
--- a/src/leap/gui/loggerwindow.py
+++ b/src/leap/gui/loggerwindow.py
@@ -78,6 +78,7 @@ class LoggerWindow(QtGui.QWidget):
"""
level = log[LeapLogHandler.RECORD_KEY].levelname
message = log[LeapLogHandler.MESSAGE_KEY]
+ message = message.replace('\n', '<br>\n')
if self._logs_to_display[level]:
self.ui.txtLogHistory.append(message)