mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-05 19:23:49 +00:00
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_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("",
|
||||
|
||||
Reference in New Issue
Block a user