◐ Shell
clean mode source ↗

Fix NOTES section formatting in comment-based help by yotsuda · Pull Request #26512 · PowerShell/PowerShell

added 2 commits

November 22, 2025 23:31
- Remove extra blank line after NOTES header
- Fix double indentation (8 spaces to 4 spaces)
- Add Pester tests to verify the fix

The issue was caused by:
1. Two consecutive .AddNewline() calls creating extra blank line
2. Nested .StartFrame(leftIndent: 4) causing double indentation (4+4=8)

Fixes PowerShell#26102

@iSazonov iSazonov added the CL-General

Indicates that a PR should be marked as a general cmdlet change in the Change Log

label

Nov 24, 2025
…Tests.ps1

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

sdwheeler

iSazonov

@yotsuda

iSazonov

SIRMARGIN pushed a commit to SIRMARGIN/PowerShell that referenced this pull request

Dec 12, 2025

kilasuit pushed a commit to kilasuit/PowerShell that referenced this pull request

Jan 2, 2026

JustinGrote pushed a commit to JustinGrote/PowerShell that referenced this pull request

Jun 2, 2026