Using NSAttributedString initWithHTMLData method with text that contains "< " (note the space after the sign) will make all the text on the right, including "< " go away.
This is only happening since iOS 16. It was working fine before.
And only happening with "< ".
As a workaround I am reverting to the iOS native (and very slowwww) transformation when the text contains "< ".
I suspect this is considered as a tag and it's looking for the corresponding ending tag.
Indeed a string like "a < b > c" will be transformed to "a c". When "ac" will stay unchanged.
Hello,
Using NSAttributedString initWithHTMLData method with text that contains "< " (note the space after the sign) will make all the text on the right, including "< " go away. This is only happening since iOS 16. It was working fine before. And only happening with "< ".
As a workaround I am reverting to the iOS native (and very slowwww) transformation when the text contains "< ".
I suspect this is considered as a tag and it's looking for the corresponding ending tag. Indeed a string like "a < b > c" will be transformed to "a c". When "ac" will stay unchanged.
Any idea how to fix this?
Thanks, Eric