Add a way to return escaped ', and " back to single and double quotes.
This commit is contained in:
parent
a6dc082460
commit
e1ba85dcea
|
|
@ -48,6 +48,12 @@
|
|||
--convert_cmd = argv[6];
|
||||
--convert_ext = argv[7];
|
||||
|
||||
--replace the ' with a single quote
|
||||
body = body:gsub("'", "'");
|
||||
|
||||
--replace the " with double quote
|
||||
body = body:gsub(""", [["]]);
|
||||
|
||||
--send the email
|
||||
if (file == nil) then
|
||||
freeswitch.email("",
|
||||
|
|
|
|||
Loading…
Reference in New Issue