Fix reply to usernames containing HTML escape characters

This commit is contained in:
aringenbach
2022-06-10 15:41:30 +02:00
committed by aringenbach
parent ced9858a06
commit db9f44ea10
2 changed files with 2 additions and 1 deletions
@@ -1995,7 +1995,7 @@ static NSString *const kHTMLATagRegexPattern = @"<a href=(?:'|\")(.*?)(?:'|\")>(
if (senderDisplayName)
{
html = [html stringByReplacingCharactersInRange:userIdRange withString:senderDisplayName];
html = [html stringByReplacingCharactersInRange:userIdRange withString:senderDisplayName.stringByAddingHTMLEntities];
}
}