Filter out percent signs in transcriptions (#4419)
The percent sign (%) is a special character for gsub.
This commit is contained in:
parent
44b8e81e81
commit
05f44474de
|
|
@ -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