From 51bfc0525aab964cd38b0d681e1daa5ac942aa2a Mon Sep 17 00:00:00 2001 From: jaredevantabor Date: Mon, 31 Oct 2016 17:20:36 -0700 Subject: [PATCH] adding new line character and 'ok' host colors --- awx/ui/client/src/job-results/parse-stdout.service.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/awx/ui/client/src/job-results/parse-stdout.service.js b/awx/ui/client/src/job-results/parse-stdout.service.js index b73301bb70..643fc7e0c1 100644 --- a/awx/ui/client/src/job-results/parse-stdout.service.js +++ b/awx/ui/client/src/job-results/parse-stdout.service.js @@ -11,11 +11,11 @@ export default [function(){ // that i'm currently seeing on this branch on the beginning // and end of each event string. In the future it could be // used to add styling classes to the actual lines of stdout - line = line.replace(/rn/g, ''); + line = line.replace(/rn/g, '\n'); line = line.replace(/u001b/g, ''); // ok - line = line.replace(/\[0;32m/g, ''); + line = line.replace(/\[0;32m/g, ''); //unreachable line = line.replace(/\[1;31m/g, '');