Skip to content

Commit 81a3010

Browse files
committed
fix: correct parser styles copying
1 parent e6f4cd1 commit 81a3010

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ios/parser/EditorParser.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ - (NSString *)parseToHtmlFromRange:(NSRange)range {
150150
[endedStyles minusSet: currentActiveStyles];
151151

152152
// also finish styles that should be ended becasue they are nested in a style that ended
153-
NSMutableSet *fixedEndedStyles = [endedStyles copy];
153+
NSMutableSet *fixedEndedStyles = [endedStyles mutableCopy];
154154
NSMutableSet *stylesToBeReAdded = [[NSMutableSet alloc] init];
155155

156156
for(NSNumber *style in endedStyles) {

0 commit comments

Comments
 (0)