[fix] Line breaks not honored in log output
This commit is contained in:
parent
f4907bfc25
commit
aaf045df55
|
@ -98,7 +98,11 @@ $(function() {
|
||||||
}
|
}
|
||||||
|
|
||||||
self.logMessage = function(timestamp, type, message) {
|
self.logMessage = function(timestamp, type, message) {
|
||||||
self.logMessages.push({time: timestamp, type: type, msg: message});
|
self.logMessages.push({
|
||||||
|
time: timestamp,
|
||||||
|
type: type,
|
||||||
|
msg: message.replace(/\n/gi, "<br>")}
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
self.onClearLog = function() {
|
self.onClearLog = function() {
|
||||||
|
|
Loading…
Reference in New Issue