Skip to content

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

@LewinJun

Description

@LewinJun

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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions