-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
Hi,
every time I use MSStringParser, there is a leak. Its repeated on every usage in the app. Probably issue in Slash?
Usage:
// we must add special style for the button
MTStringAttributes *attributes = [[MTStringAttributes alloc] init];
attributes.font = self.titleLabel.font;
attributes.textColor = self.titleLabel.textColor;
attributes.alignment = self.titleLabel.textAlignment;
MTStringParser *parser = [[MTStringParser alloc] init];
[parser setDefaultAttributes:attributes];
[parser addStyleWithTagName:@"b" font:[attributes.font boldFont] color:attributes.textColor];
[self updatePageTitleWithAttributtedText:[parser attributedStringFromMarkup:title]];
Best regards.
Martin.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
