🐛 make newlines in text visible
This commit is contained in:
parent
5d92207774
commit
458b27215c
@ -90,7 +90,7 @@
|
|||||||
var span_one_line = document.createElement("span");
|
var span_one_line = document.createElement("span");
|
||||||
|
|
||||||
span_one_line.classList.add("line", "stderr-" + type);
|
span_one_line.classList.add("line", "stderr-" + type);
|
||||||
span_one_line.textContent = text;
|
span_one_line.textContent = text + "\n";
|
||||||
|
|
||||||
document.getElementById("text-output-area").appendChild(span_one_line);
|
document.getElementById("text-output-area").appendChild(span_one_line);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user