Move font parameter and update parameters description

This commit is contained in:
aringenbach
2022-06-10 15:06:17 +02:00
committed by aringenbach
parent f8cd8fa96c
commit 2323e21b64
2 changed files with 5 additions and 5 deletions
@@ -1778,10 +1778,10 @@ static NSString *const kHTMLATagRegexPattern = @"<a href=(?:'|\")(.*?)(?:'|\")>(
MXWeakify(self);
NSAttributedString *str = [htmlFormatter formatHTML:html
withAllowedTags:_allowedHTMLTags
font:fontForWholeString
andImageHandler:_htmlImageHandler
extraOptions:@{ DTDefaultTextColor: [self textColorForEvent:event],
DTDefaultStyleSheet: dtCSS }
font:fontForWholeString
postFormatOperations:^(NSMutableAttributedString *mutableStr) {
MXStrongifyAndReturnIfNil(self);
[self postFormatMutableAttributedString:mutableStr