Have the whitespace SVG characters be escaped out in the NSString instead of having it be a stringWithFormat.