private string ConvertEscapedCharacters(string scriptStyleString) { // The translation source has \" and \\, but the engine expects " and \ return scriptStyleString.Replace("\\\"", "\"").Replace("\\\\", "\\"); }