DotJoshJohnson / vscode-xml

XML Tools for Visual Studio Code
MIT License
320 stars 87 forks source link

'Format as XML' will insert </root> after <root> #335

Open wzlwit opened 3 years ago

wzlwit commented 3 years ago

Description What seems to be the problem? when an xml is minified, and then 'format as XML' it will insert error tags inside.

Screenshots If applicable, add screenshots to help explain your problem. image

after minified: image

format again: image

Extension Version What version of the XML Tools extension are you using?

VS Code Version What version of VS Code are you using?

Operating System What OS (and version) are you using?