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