Closed
Description
TS Template added by @mjbvz
TypeScript Version: 3.8.3
Search Terms
- refactor
- refactoring
- VSCode Version: 1.43.0
- OS Version: Windows 7 Pro
Steps to Reproduce:
- Add the following text to a typescript file (have not tried javascript):
return "\\[[" + text + "](" + link + ")\\]";
- Choose refactor -> Convert to template string
- Observe the following output:
return `\\\\[[${text}](${link})\\\\]`;
This contains too many backslashes - there should only be one escaped slash in each location, i.e.
return `\\[[${text}](${link})\\]`;
Does this issue occur when all extensions are disabled?: Yes