DotJoshJohnson / vscode-xml

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

Convert XML to text with required escape characters incorrect. #368

Open TannerFrandsen opened 2 years ago

TannerFrandsen commented 2 years ago

Description When running the command on a selected string which requires insertion of escape characters the provided result is incorrect. Input: Testing<SomeTestValue> Output: Testing&amp;lt;SomeTestValue&amp;gt; Expected Output: Testing&lt;SomeTestValue&gt;

I apologize if this has already been reported, I searched for a while and not seeing any direct issues I thought i would submit one. I did however find a few closed or merged issues that are related and may help. Issue 271 Here is the original feature request and implementation. Issue 249 and Issue 208

Extension Version This problem is currently active in 2.5.1 The feature was introduced in 2.4.0 The feature works as expected in 2.5.0 so it appears the bug was introduced in 2.5.1

VS Code Version VS code Version 1.60.0

Operating System Windows 10 64 bit.