We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 431f1c7 commit a2e3800Copy full SHA for a2e3800
1 file changed
ios/htmlParser/HtmlParser.mm
@@ -750,9 +750,7 @@ + (NSArray *_Nonnull)getTextAndStylesFromHtml:(NSString *_Nonnull)fixedHtml
750
LinkData *linkData = [[LinkData alloc] init];
751
linkData.url = url;
752
linkData.text = text;
753
- linkData.isManual = !([text isEqualToString:url] &&
754
- [LinkStyle matchesLinkRegexWithConfig:url
755
- config:config]);
+ linkData.isManual = ![text isEqualToString:url] || ![LinkStyle matchesLinkRegexWithConfig:url config:config]);
756
757
stylePair.styleValue = linkData;
758
} else if ([tagName isEqualToString:@"mention"]) {
0 commit comments