Skip to content

Commit 5fed737

Browse files
fix: next to each other image parsing on iOS
1 parent 97c8585 commit 5fed737

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

ios/inputParser/InputParser.mm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,7 @@ - (NSString *)parseToHtmlFromRange:(NSRange)range {
241241
NSString *tagContent = [self tagContentForStyle:style openingTag:YES location:currentRange.location];
242242
if ([style isEqualToNumber: @([ImageStyle getStyleType])]) {
243243
[result appendString: [NSString stringWithFormat:@"<%@/>", tagContent]];
244+
[currentActiveStyles removeObject:@([ImageStyle getStyleType])];
244245
} else {
245246
[result appendString: [NSString stringWithFormat:@"<%@>", tagContent]];
246247
}

0 commit comments

Comments
 (0)