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 @@