Skip to content

Commit 7229c3a

Browse files
committed
fix: bring back a comment
1 parent bdd1876 commit 7229c3a

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
@@ -623,6 +623,7 @@ - (NSArray *)getTextAndStylesFromHtml:(NSString *)fixedHtml {
623623

624624
NSRange hrefRange = match.range;
625625
[styleArr addObject:@([LinkStyle getStyleType])];
626+
// cut only the url from the href="..." string
626627
NSString *url = [params substringWithRange:NSMakeRange(hrefRange.location + 6, hrefRange.length - 7)];
627628
stylePair.styleValue = url;
628629
} else if([tagName isEqualToString:@"mention"]) {

0 commit comments

Comments
 (0)