We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73e3971 commit 711eda1Copy full SHA for 711eda1
services/static-webserver/client/source/class/osparc/widget/logger/LoggerModel.js
@@ -113,7 +113,12 @@ qx.Class.define("osparc.widget.logger.LoggerModel", {
113
newRow["level"] = this.self().getLevelIcon(newRow.logLevel);
114
newRow["time"] = osparc.utils.Utils.formatTime(newRow.timeStamp, true);
115
newRow["who"] = newRow.label;
116
- newRow["msgRich"] = newRow.msg.replace(/\n/g, "<br>");
+
117
+ // there might a double backslash before the n
118
+ let clean = newRow.msg.replace(/\\n/g, "<br>");
119
+ clean = newRow.msg.replace(/\n/g, "<br>");
120
+ newRow["msgRich"] = clean;
121
122
this.__rawData.push(newRow);
123
});
124
},
0 commit comments