Skip to content

Commit

Permalink
replace replaceAll
Browse files Browse the repository at this point in the history
  • Loading branch information
odeimaiz committed Dec 10, 2024
1 parent 81ce420 commit 4157284
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ qx.Class.define("osparc.widget.logger.LoggerModel", {
newRow["level"] = this.self().getLevelIcon(newRow.logLevel);
newRow["time"] = osparc.utils.Utils.formatTime(newRow.timeStamp, true);
newRow["who"] = newRow.label;
newRow["msgRich"] = newRow.msg.replaceAll("\n", "<br>");
newRow["msgRich"] = newRow.msg.replace(/\n/g, "<br>");
this.__rawData.push(newRow);
});
},
Expand Down

0 comments on commit 4157284

Please sign in to comment.