set correct newlines in output

This commit is contained in:
Ralf Teusner
2015-10-15 15:27:57 +02:00
parent f1067feb36
commit 91cb2a3391

View File

@ -1161,6 +1161,7 @@ $(function() {
return;
}
//msg.data = msg.data.replace(/(\r\n|\n|\r)/gm, "<br />");
msg.data = msg.data.replace(/(\r)/gm, "\n");
var stream = {};
stream[msg.stream] = msg.data;
printOutput(stream, true, 0);