Skip to content

GitHub alerts are formatted wrongly when there is more than one trailing space in headers #148

@brc-dd

Description

@brc-dd

Describe the bug

dprint-plugin-markdown version: 0.19.0

Input Code

> [!IMPORTANT]  
> Crucial information necessary for users to succeed.

Expected Output

> [!IMPORTANT]
> Crucial information necessary for users to succeed.

Actual Output

> [!IMPORTANT]\
> Crucial information necessary for users to succeed.

https://dprint.dev/playground/#code/HwAg2ghAkgsgCgeQEoBUCCA5FBdAUKAYQCcBXAYwEsBDAGxAoDsAzAeyIFsqAXClhkBgFMyggM6iqRAJ4hWRECVGCiokFxYhR5EYIAmAOlz5w0eMnRZsIY8XLU6jOZx58BwsROmy2CpSrUaWmQ6BkagkLCIqJg4INaEpJS09Mxszrz8QiLikjJyvsqq6pragnqGQA/plugin/markdown

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions