diff --git a/homepage/views.php b/homepage/views.php index be4e0e5d..d6378339 100644 --- a/homepage/views.php +++ b/homepage/views.php @@ -353,7 +353,7 @@ function copyOutput(elem) { $output = implode("\n", $lines); $results = $output; - + $results = nl2br(htmlspecialchars($results)); if(strlen($results) == 0) { $results = "This command has no output."; }