File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -139,7 +139,7 @@ LogGroup 'Files analyzed' {
139139# Transform the Command property with markdown code fences before building the table
140140# --------------------------------------------------------------------------------
141141$missedForDisplay = $codeCoverage.CommandsMissed | Sort-Object - Property File, Line | ForEach-Object {
142- $command = ' <pre><code class='' language-pwsh'' >{0}</pre></code>' -f (Normalize- IndentationExceptFirst - Code $_.Command )
142+ $command = ' <pre><code class='' language-pwsh'' style="white-space: pre;" >{0}</pre></code>' -f (Normalize- IndentationExceptFirst - Code $_.Command )
143143 $command = $command.Replace ([Environment ]::NewLine, ' <br>' ).Replace(' ' , ' ' )
144144 [PSCustomObject ]@ {
145145 File = $_.File
@@ -154,7 +154,7 @@ $missedForDisplay = $codeCoverage.CommandsMissed | Sort-Object -Property File, L
154154}
155155
156156$executedForDisplay = $codeCoverage.CommandsExecuted | Sort-Object - Property File, Line | ForEach-Object {
157- $command = ' <pre><code class='' language-pwsh'' >{0}</pre></code>' -f (Normalize- IndentationExceptFirst - Code $_.Command )
157+ $command = ' <pre><code class='' language-pwsh'' style="white-space: pre;" >{0}</pre></code>' -f (Normalize- IndentationExceptFirst - Code $_.Command )
158158 $command = $command.Replace ([Environment ]::NewLine, ' <br>' ).Replace(' ' , ' ' )
159159 [PSCustomObject ]@ {
160160 File = $_.File
You can’t perform that action at this time.
0 commit comments