Skip to content

Commit fc06aab

Browse files
author
Marius Burkard
committed
Merge branch '5938-layout-mailq-monitor' into 'develop'
Preserve indentation from mailq output using <pre>. Closes #5938 See merge request ispconfig/ispconfig3!1339
2 parents 7b51c8e + 2bc1d84 commit fc06aab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interface/lib/classes/tools_monitor.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,7 @@ function showMailq() {
568568

569569
if(isset($record['data'])) {
570570
$data = unserialize($record['data']);
571-
$html = nl2br($data['output']);
571+
$html = '<pre>' . htmlspecialchars($data['output']) . '</pre>';
572572
} else {
573573
$html = '<p>'.$app->lng("no_data_mailq_txt").'</p>';
574574
}

0 commit comments

Comments
 (0)