Filter out percent signs in transcriptions (#4419)
The percent sign (%) is a special character for gsub.
This commit is contained in:
parent
3b0dcefcea
commit
5ff45c001f
|
|
@ -180,6 +180,7 @@
|
|||
body = body:gsub("${caller_id_number}", caller_id_number);
|
||||
body = body:gsub("${message_date}", message_date);
|
||||
if (transcription ~= nil) then
|
||||
transcription = transcription:gsub("%%", "*");
|
||||
body = body:gsub("${message_text}", transcription);
|
||||
end
|
||||
body = body:gsub("${message_duration}", message_length_formatted);
|
||||
|
|
|
|||
Loading…
Reference in New Issue