Skip to content

Commit 1190284

Browse files
committed
fix: spacing
1 parent 91aada4 commit 1190284

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

ios/inputParser/InputParser.mm

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -597,13 +597,13 @@ - (NSArray *)getTextAndStylesFromHtml:(NSString *)fixedHtml {
597597
} else if([tagName isEqualToString:@"code"]) {
598598
[styleArr addObject:@([InlineCodeStyle getStyleType])];
599599
} else if([tagName isEqualToString:@"a"]) {
600-
[styleArr addObject:@([LinkStyle getStyleType])];
601-
NSRange hrefRange = [params rangeOfString:@"href="];
602-
stylePair.styleValue = @"";
603-
if(hrefRange.location != NSNotFound) {
604-
NSString *url = [params substringWithRange:NSMakeRange(6, params.length - 7)];
605-
stylePair.styleValue = url;
606-
}
600+
[styleArr addObject:@([LinkStyle getStyleType])];
601+
NSRange hrefRange = [params rangeOfString:@"href="];
602+
stylePair.styleValue = @"";
603+
if(hrefRange.location != NSNotFound) {
604+
NSString *url = [params substringWithRange:NSMakeRange(6, params.length - 7)];
605+
stylePair.styleValue = url;
606+
}
607607
} else if([tagName isEqualToString:@"mention"]) {
608608
[styleArr addObject:@([MentionStyle getStyleType])];
609609
// extract html expression into dict using some regex

0 commit comments

Comments
 (0)