From de0c32f961a3d73e8cb39d2a47126c708630abd2 Mon Sep 17 00:00:00 2001 From: Jeena Paradies Date: Sat, 3 Nov 2012 13:39:28 +0100 Subject: [PATCH] fixed problem with quotes in Message --- Controller.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Controller.m b/Controller.m index 360a97c..7eb883a 100644 --- a/Controller.m +++ b/Controller.m @@ -215,7 +215,7 @@ - (IBAction)sendTweet:(id)sender { TweetModel *tweet = (TweetModel *)[sender object]; - NSString *text = [[tweet.text stringByReplacingOccurrencesOfString:@"\"" withString:@"\\\""] stringByReplacingOccurrencesOfString:@"\\" withString:@"\\\\"]; + NSString *text = [[tweet.text stringByReplacingOccurrencesOfString:@"\\" withString:@"\\\\"] stringByReplacingOccurrencesOfString:@"\"" withString:@"\\\""]; NSString *func = [NSString stringWithFormat:@"tentia_instance.sendNewMessage(\"%@\", \"%@\", \"%@\")", text, tweet.inReplyTostatusId,