From 8217fecb33eade04b6d25603f9156b2f9ea55325 Mon Sep 17 00:00:00 2001 From: Sami Haahtinen Date: Sun, 19 Jan 2014 12:01:35 +0200 Subject: [PATCH] Make Log messages pasteable --- couchpotato/core/plugins/log/static/log.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/couchpotato/core/plugins/log/static/log.js b/couchpotato/core/plugins/log/static/log.js index e9e4af0..159bfea 100644 --- a/couchpotato/core/plugins/log/static/log.js +++ b/couchpotato/core/plugins/log/static/log.js @@ -73,10 +73,10 @@ Page.Log = new Class({ .replace(/\u001b\[31m/gi, '') .replace(/\u001b\[36m/gi, '') .replace(/\u001b\[33m/gi, '') - .replace(/\u001b\[0m\n/gi, '') + .replace(/\u001b\[0m\n/gi, '
') .replace(/\u001b\[0m/gi, '') - return '' + text + ''; + return '
' + text + '
'; } -}) \ No newline at end of file +})