summaryrefslogtreecommitdiffstats
path: root/application
diff options
context:
space:
mode:
Diffstat (limited to 'application')
-rw-r--r--application/controllers/GearmanController.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/application/controllers/GearmanController.php b/application/controllers/GearmanController.php
index 66e7bed..5b842b1 100644
--- a/application/controllers/GearmanController.php
+++ b/application/controllers/GearmanController.php
@@ -70,6 +70,7 @@ class GearmanController extends Zend_Controller_Action
foreach($resultsExp as $result) {
$resultDecode = json_decode($result);
$resultDecode->rawoutput = sprintf('%s', $resultDecode->rawoutput);
+ $resultDecode->rawoutput = str_replace("\n", "<br />\t", $resultDecode->rawoutput);
$resultDecode->alive = sprintf('%s', $resultDecode->alive);
$resultDecode->rc = sprintf('%s', $resultDecode->rc);
$results[] = $resultDecode;