From 697440c0e14c20ea719fbded60d5df1bed4330d0 Mon Sep 17 00:00:00 2001 From: Bibiko Date: Tue, 16 Nov 2010 07:42:39 +0000 Subject: =?UTF-8?q?=E2=80=A2=20sql=20QL=20-=20fixed=20appending=20of=20the?= =?UTF-8?q?=20entire=20sqlText=20after=20parsing=20-=20removed=20replacing?= =?UTF-8?q?=20of=20/=20for=20better=20wrapping=20since=20it'll=20break=20t?= =?UTF-8?q?he=20syntax=20highlighting?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Source/GeneratePreviewForURL.m | 2 -- 1 file changed, 2 deletions(-) (limited to 'Source') diff --git a/Source/GeneratePreviewForURL.m b/Source/GeneratePreviewForURL.m index ba123c89..349837ff 100644 --- a/Source/GeneratePreviewForURL.m +++ b/Source/GeneratePreviewForURL.m @@ -438,7 +438,6 @@ OSStatus GeneratePreviewForURL(void *thisInterface, QLPreviewRequestRef preview, } } [loopPool release]; - [sqlHTML appendString:sqlText]; [sqlHTML appendString:truncatedString]; [sqlText release]; [truncatedString release]; @@ -451,7 +450,6 @@ OSStatus GeneratePreviewForURL(void *thisInterface, QLPreviewRequestRef preview, // Improve soft wrapping my making more characters wrap points [sqlHTML replaceOccurrencesOfString:@"," withString:@",​" options:NSLiteralSearch range:NSMakeRange(0, [sqlHTML length])]; - [sqlHTML replaceOccurrencesOfString:@"/" withString:@"/​" options:NSLiteralSearch range:NSMakeRange(0, [sqlHTML length])]; html = [NSString stringWithFormat:template, [NSString stringForByteSize:[[fileAttributes objectForKey:NSFileSize] longLongValue]], -- cgit v1.2.3