$reportPath = "site\report.html"
$html = Get-Content $reportPath -Raw

# Remove the extra </div> that was accidentally injected before the sidebar
$html = $html -replace '</div>\s*</div>\s*</div>\s*<aside class="tools-sidebar"', "</div>`n</div>`n<aside class=`"tools-sidebar`""

Set-Content -Path $reportPath -Value $html -Encoding UTF8
Write-Host "Fixed report.html layout structure"
