thunder-client-support
thunder-client-support copied to clipboard
XML formatting of empty elements forces inclusion of enwline and tabs in element value
Describe the bug
The format button seems to be inserting newlines into empty elements and aligning the open/close tag with tabs. This can cause issues as the indentation tabs can be picked up as the value of the element
To Reproduce Add an xml request containing
<tag></tag>
Observed behavior
<tag>
</tag>
Expected behavior
<tag></tag>
Platform:
- OS: Windows
- vscode version: 1.67.2
- extension version: v1.16.4
Workaround: Format XML with vscode document
HI @bmrussell thanks for reporting the issue, will look into it.
This bug is is now fixed and published to marketplace, please update to v1.18.3
See all features released https://github.com/rangav/thunder-client-support/releases/tag/v1.18.3
Please let me know your feedback.