Add a way to return escaped &#39, and &#34 back to single and double quotes.

This commit is contained in:
Mark Crane
2013-01-10 21:58:42 +00:00
parent a6dc082460
commit e1ba85dcea

View File

@@ -48,6 +48,12 @@
--convert_cmd = argv[6];
--convert_ext = argv[7];
--replace the &#39 with a single quote
body = body:gsub("'", "'");
--replace the &#34 with double quote
body = body:gsub(""", [["]]);
--send the email
if (file == nil) then
freeswitch.email("",