Cocoanetics/DTCoreText — Issue #134: Support for multiple shadows breaks RGBA support
Author: ForgotenDynasty
Created: 2012-02-24 18:17:37+00:00
State: open

In NSString+HTML in the following method

- (NSArray *)arrayOfCSSShadowsWithCurrentTextSize:(CGFloat)textSize currentColor:(UIColor *)color\

The first line explodes the string on a comma.
NSArray *shadows = [self componentsSeparatedByString:@","];

this is problematic because when using RGBA there are commas in the string yielding the following result.

http://img141.imageshack.us/img141/2985/970648e2.png