Skip to content

Commit 45ad266

Browse files
don't escape quotes with Clipboardy
1 parent 62359b0 commit 45ad266

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

extension.js

+1-5
Original file line numberDiff line numberDiff line change
@@ -145,11 +145,7 @@ function activate(context) {
145145
return editor.document.getText(selection);
146146
}
147147
})
148-
.join('\n')
149-
.replace(/\\/g, '\\\\') // escape quotes
150-
.replace(/'/g, "'\\''")
151-
.replace(/\"/g, '\\"')
152-
.replace(/\`/g, '\\`');
148+
.join('\n');
153149

154150
const browser = vscode.workspace.getConfiguration("hy-jupyter").get("browser");
155151

hy-jupyter-0.4.2.vsix

-1.01 MB
Binary file not shown.

0 commit comments

Comments
 (0)