diff --git a/plugin/Trans.lua b/plugin/Trans.lua index 3b00025..e78a7e0 100644 --- a/plugin/Trans.lua +++ b/plugin/Trans.lua @@ -31,5 +31,6 @@ local f = system == 'linux' and 'echo %q | festival --tts' string.play = function(self) - fn.jobstart(f:format(self)) + local s = string.gsub(self, "\"", " ") + fn.jobstart(f:format(s)) end