IOS 17.4 - 17.5 bug on copy html type of text

Hello we have created a function that is expanding copy module to support html format. Everything inside that function works fine but on 17.4+ IOS version copying the html element strike-through <s> tag is not working (other HTML elements are working fine) . Looking the logs seems like <s> are getting stripped. Here is the code:

void copyToClipboard(NSString *htmlContent) {
    UIPasteboard *pasteboard = [UIPasteboard generalPasteboard];
    [pasteboard setValue:htmlContent forPasteboardType:@"public.html"];
}

Does anyone know fix for this or when this will be fixed or will it be fixed in next update?

IOS 17.4 - 17.5 bug on copy html type of text
 
 
Q