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 1cf19c7 commit a7a704fCopy full SHA for a7a704f
webssh/static/js/main.js
@@ -325,7 +325,7 @@ jQuery(function($){
325
326
function log_status(text, to_populate) {
327
console.log(text);
328
- status.html(text.split('\n').join('<br/>'));
+ status.text(text);
329
330
if (to_populate && validated_form_data) {
331
populate_form(validated_form_data);
webssh/templates/index.html
@@ -87,7 +87,7 @@
87
</div>
88
89
<div class="container">
90
- <div id="status" style="color: red;"></div>
+ <div id="status" style="color: red; white-space: pre-line;"></div>
91
<div id="terminal"></div>
92
93
0 commit comments