1 parent 97c8585 commit 5fed737Copy full SHA for 5fed737
1 file changed
ios/inputParser/InputParser.mm
@@ -241,6 +241,7 @@ - (NSString *)parseToHtmlFromRange:(NSRange)range {
241
NSString *tagContent = [self tagContentForStyle:style openingTag:YES location:currentRange.location];
242
if ([style isEqualToNumber: @([ImageStyle getStyleType])]) {
243
[result appendString: [NSString stringWithFormat:@"<%@/>", tagContent]];
244
+ [currentActiveStyles removeObject:@([ImageStyle getStyleType])];
245
} else {
246
[result appendString: [NSString stringWithFormat:@"<%@>", tagContent]];
247
}
0 commit comments