Permalink
Browse files

Praise be to Whitesmith.

  • Loading branch information...
schwa committed Feb 8, 2012
1 parent f266dfa commit 4ff22064789d64fce661128ef4a852e58b2cfd54
Showing with 3 additions and 4 deletions.
  1. +3 −4 Source/CSimpleHTMLParser.m
@@ -97,9 +97,8 @@ - (BOOL)parseString:(NSString *)inString error:(NSError **)outError
while ([theScanner isAtEnd] == NO)
{
-
- @autoreleasepool {
-
+ @autoreleasepool
+ {
NSString *theRun = NULL;
NSString *theTagName = NULL;
NSDictionary *theAttributes = NULL;
@@ -258,7 +257,7 @@ - (BOOL)parseString:(NSString *)inString error:(NSError **)outError
theLastCharacterWasWhitespace = [self.whitespaceCharacterSet characterIsMember:[theString characterAtIndex:theString.length - 1]];
self.textHandler(theString, theTagStack);
}
- }
+ }
return(YES);
}

0 comments on commit 4ff2206

Please sign in to comment.