Copying code snippets from vscode always adds forward slash (\)

I dunno if this has been solved or if I’m the only one getting this issue but when i try to copy say a function from VScode to Obsidian, it always adds some slash symbol

obsidian1 obsidian2

Please search before posting. This has been discussed over and over again on the forum.