Skip to content

missing identation for closing tag in version 2.2.0 #185

Closed
@abdelhakimMouslih

Description

@abdelhakimMouslih

Description

a closing tags after a minified tag don't get an indentation.

how to reproduce:

  1. copy paste this into the editor:
<test><example><one/></example></test>
  1. specify the type of file as XML
  2. right click on the editor and choose the Format document option

Obtained results:

<test>
    <example>
        <one/>
</example>
</test>

Expected results:

<test>
    <example>
        <one/>
    </example>
</test>

re-preforming step 3 gives me the expected result.

Formatter Implementation

 "xmlTools.xmlFormatterImplementation": "v2"

XML Tools Version

2.2.0

VS Code Version

1.23.1

Operating System

Windows 10

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions