Skip to content

The plugin does not properly indent XML #137

@rmahroua

Description

@rmahroua

Hey,
I am using the version 0.5.1 of the plugin and noticed something really strange.
The indentation upon hitting 'enter' on some text does not work as expected:

I have the following code (the pipe is the cursor)

  <para>
    A disabled service will not be started automatically.|</para>

After hitting enter, here's the result:

  <para>
    A disabled service will not be started automatically
    </para>

Should be:

  <para>
    A disabled service will not be started automatically
  </para>

If I use HTML as the file type in VSCode, indentation works as expected.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions