Skip to content

Missing newline when specifying an OUTPUTS element #477

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
bravo-kernel opened this issue Dec 29, 2019 · 2 comments
Closed

Missing newline when specifying an OUTPUTS element #477

bravo-kernel opened this issue Dec 29, 2019 · 2 comments
Labels
Resolution-Duplicate The issue is a duplicate.
Milestone

Comments

@bravo-kernel
Copy link

Summary

Generated markdown is missing a newline when specifying an OUTPUTS element.

Hint

If I can approval and a pointer to where this would have to be changed I am willing to put in a PR.

Steps to reproduce

Generate markdown for a Get-Help definition containing an Outputs element like this example:

        .OUTPUTS
            System.Object

Expected behavior

## OUTPUTS

### System.Object

## NOTES

Actual behavior

## OUTPUTS

### System.Object
## NOTES

Environment data

  • PlatyPS 0.14.0
  • Powershell 6.2.2
@theJasonHelmick
Copy link
Collaborator

@bravo-kernel Thank you for reporting the issue. We are in the process of correcting several of these types of errors for our new V2 release. If you have a chance, I would suggest trying our latest V2 preview.1. https://www.powershellgallery.com/packages/platyPS/2.0.0-preview1

@sdwheeler sdwheeler added this to the 2.0-Preview3 milestone Apr 4, 2022
@sdwheeler
Copy link
Collaborator

Duplicate of #495

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution-Duplicate The issue is a duplicate.
Projects
None yet
Development

No branches or pull requests

3 participants