diff --git a/public/index.html b/public/index.html index 94e9274..20ede0e 100644 --- a/public/index.html +++ b/public/index.html @@ -162,6 +162,7 @@ } function createSSML(text, voiceName) { + text = text.replaceAll('&', '&').replaceAll('<', '<').replaceAll('>', '>').replaceAll('\'', ''').replaceAll('"', '"'); let ssml = '\ \ \ @@ -238,4 +239,4 @@ - \ No newline at end of file +