DotJoshJohnson / vscode-xml

XML Tools for Visual Studio Code
MIT License
325 stars 86 forks source link

Self Closing Tag Duplicates ">" #199

Closed SharpSeeEr closed 6 years ago

SharpSeeEr commented 6 years ago

Description When changing an existing, non-self closing element, <firstname></firstname>, to a self-closing type by removing the closing tag then adding a / in front of the opening tag's > a duplicate > is added.

<!-- initial setup -->
<firstname></firstname>
<!-- delete closing tag -->
<firstname>
<!-- add slash -->
<firstname/>
<!-- results in double gt -->
<firstname/>>

Screenshots image

Extension Version 2.3.0

VS Code Version image

Operating System Windows 10 Professional Version 1803, OS build 17134.112

DotJoshJohnson commented 6 years ago

This extension doesn't provide "auto-close" functionality. Do you have another extension installed that does?

SharpSeeEr commented 6 years ago

I think I must have an extension that provides auto-close functionality. :) I'll figure that out and submit the bug there. Thanks!