Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Program.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
using System;
using System.Diagnostics;
using System.IO;
using System.Security;
using System.Speech.Synthesis;
using System.Text.RegularExpressions;
using NAudio.Wave;
Expand Down Expand Up @@ -491,7 +492,7 @@ private static async Task<string> BuildSsml(string p)
string ssml = @"
<speak version='1.0' xmlns='http://www.w3.org/2001/10/synthesis' xml:lang='en-US'>
<voice name='" + _ss.Voice + @"'>
" + p + @"
" + SecurityElement.Escape(p) + @"
</voice>
</speak>";
return ssml;
Expand Down