From 9a4bb9bb042e0fc67356d5c0092b8434d04d62ff Mon Sep 17 00:00:00 2001 From: Jon Pugh Date: Thu, 26 Oct 2023 07:37:09 -0400 Subject: [PATCH] Make URLs clickable in "command" logs type output. --- devmaster/modules/devshop/devshop_projects/inc/theme.inc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/devmaster/modules/devshop/devshop_projects/inc/theme.inc b/devmaster/modules/devshop/devshop_projects/inc/theme.inc index a55471d5e..dda2d2304 100644 --- a/devmaster/modules/devshop/devshop_projects/inc/theme.inc +++ b/devmaster/modules/devshop/devshop_projects/inc/theme.inc @@ -660,6 +660,13 @@ function devshop_task_get_messages($task_node) { } if (!empty($command)) { + + // Make URLs clickable: + $filter = new stdClass(); + $filter->settings = [ + 'filter_url_length' => 1000, + ]; + $command = _filter_url($command, $filter); $header = "
$command
"; } else {