KEMBAR78
Update the line break character to main spacing in MAML by adityapatwardhan · Pull Request #781 · PowerShell/platyPS · GitHub
Skip to content

Conversation

@adityapatwardhan
Copy link
Member

PR Summary

This pull request updates the handling of line breaks in MAML files by replacing the placeholder with a new encoded character. It also updates the corresponding test to ensure the new workaround is correctly applied.

Updates to line break handling in MAML files:

  • src/Command/ExportMamlCommandHelp.cs: Changed the placeholder replacement from <maml:para>&#x20;&#x08;</maml:para> to <maml:para>&#x80;</maml:para> in the EndProcessing method to address line break preservation issues.

Updates to tests:

PR Context

@adityapatwardhan
Copy link
Member Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Collaborator

@sdwheeler sdwheeler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@adityapatwardhan adityapatwardhan merged commit d8364c0 into main Jul 22, 2025
8 checks passed
@adityapatwardhan adityapatwardhan deleted the UpdateMAMLLineBreak branch July 22, 2025 21:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants