Skip to content

"Format as XML" cannot handle element text on new line #137

Closed
@Jesperbk

Description

@Jesperbk

Using the format command on an XML snippet with element text on its own line (or on line with the closing tag) does not yield the expected indentation.
Before:

<Tag>
<Tag2>
Text
</Tag2>
</Tag>

After:

<Tag>
    <Tag2>
Text
</Tag2>
</Tag>

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions