diff --git a/platform/win.lua b/platform/win.lua index b42ec88..c1da84e 100644 --- a/platform/win.lua +++ b/platform/win.lua @@ -20,7 +20,9 @@ self.tmp_dir = function() end self.copy_to_clipboard = function(text) - mp.commandv("run", "powershell", "-command", string.format('Set-Clipboard -Value "%s"', text:gsub('"', '`"'))) + mp.commandv("run", "powershell", "-command", + string.format('Set-Clipboard -Value "%s"', text:gsub('"', '`"'):gsub('“', '`“'):gsub('”', '`”')) + ) end self.curl_request = function(url, request_json, completion_fn)