From a7a704f111391c82efc1bacf89693ff45bda7f5f Mon Sep 17 00:00:00 2001 From: Sheng Date: Sun, 27 Jul 2025 17:35:20 +0800 Subject: [PATCH] Output status in text --- webssh/static/js/main.js | 2 +- webssh/templates/index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/webssh/static/js/main.js b/webssh/static/js/main.js index 6f79643..5ab0d8c 100644 --- a/webssh/static/js/main.js +++ b/webssh/static/js/main.js @@ -325,7 +325,7 @@ jQuery(function($){ function log_status(text, to_populate) { console.log(text); - status.html(text.split('\n').join('
')); + status.text(text); if (to_populate && validated_form_data) { populate_form(validated_form_data); diff --git a/webssh/templates/index.html b/webssh/templates/index.html index 3268c38..89a36f0 100644 --- a/webssh/templates/index.html +++ b/webssh/templates/index.html @@ -87,7 +87,7 @@
-
+