From 6aa54bb45ea05e5f0c6dd262390fd90142445106 Mon Sep 17 00:00:00 2001 From: Stephan Yelle Date: Thu, 29 May 2025 11:16:51 -0400 Subject: [PATCH] Update StackMonkey.ps1 --- StackMonkey.ps1 | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/StackMonkey.ps1 b/StackMonkey.ps1 index c05428b..14a05ed 100644 --- a/StackMonkey.ps1 +++ b/StackMonkey.ps1 @@ -552,12 +552,14 @@ function Build-Checkboxes { if ($_.SubOptions) { # join inside the code block is fine - $subHtml = $_.SubOptions | - ForEach-Object { - "" - } -join "`n" + $subHtml = ( + $_.SubOptions | + ForEach-Object { + "" + } + ) -join "`n" $html += @"