RTLabel icon indicating copy to clipboard operation
RTLabel copied to clipboard

RTLabel extractTextStyleFromText:paragraphReplacement(RTLabel.m:926)。Range {0, 1} out of bounds

Open LewinJun opened this issue 8 years ago • 0 comments

+[RTLabel extractTextStyleFromText:paragraphReplacement:] (RTLabel.m:926) -[__NSCFString replaceOccurrencesOfString:withString:options:range:]: Range {0, 1} out of bounds; string

如富文本包含 color = 'red' =号两边有空格就会crash, Range越界,必须写成color='red'

LewinJun avatar Apr 25 '17 09:04 LewinJun