Skip to content

Weird enter in closing when formatting XAML TextBlock #1785

@JochemPalmsens

Description

@JochemPalmsens

Input:

    <TextBlock Foreground="DarkGray">
I saw the sign. When I opened up my eyes, I saw the sign.
</TextBlock>

Output:

    <TextBlock Foreground="DarkGray">
I saw the sign. When I opened up my eyes, I saw the sign.
</TextBlock
    >

Expected behavior:

    <TextBlock Foreground="DarkGray">
        I saw the sign. When I opened up my eyes, I saw the sign.
    </TextBlock>

Note: this only happens when the opening block sets properties. I.e., when you remove the Foreground="DarkGray", the closing > is in the right place again. But that's not a correct solution

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions