From bf04a3800ea6833d2d170ab9b2cfc0ec8008cb9f Mon Sep 17 00:00:00 2001 From: Chris Ballinger Date: Wed, 28 Mar 2012 21:49:02 -0700 Subject: [PATCH] make sure that HTML is stripped --- Off the Record/OTRBuddy.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Off the Record/OTRBuddy.m b/Off the Record/OTRBuddy.m index a86dc30dd..026fe9561 100644 --- a/Off the Record/OTRBuddy.m +++ b/Off the Record/OTRBuddy.m @@ -93,7 +93,7 @@ -(void)receiveMessage:(NSString *)message //NSLog(@"received: %@",message); if (message) { // Strip the shit out of it, but hoepfully you're talking with someone who is trusted in the first place - NSString *rawMessage = [[[[message stringByStrippingHTML]stringByConvertingHTMLToPlainText]stringByEncodingHTMLEntities:YES] stringByLinkifyingURLs]; + NSString *rawMessage = [[[[message stringByStrippingHTML]stringByConvertingHTMLToPlainText]stringByEncodingHTMLEntities] stringByLinkifyingURLs]; self.lastMessage = rawMessage; NSString *username = [NSString stringWithFormat:@"%@:",[self fontSize],self.displayName];