Closed cameronehrlich closed 3 months ago
Hey @odrobnik, can I get a PR review?
Thanks for the fix! Looks good!
@odrobnik whats the process for cutting a new release?
I just do it when I have time
Okay 👍
The new release has been released: https://www.cocoanetics.com/2024/09/dtcoretext-1-6-28/
Again, thanks for your contributions!
Hello!
We have identified a crash in production caused by malformed CSS styling in the HTML being rendered. The issue arises from calling
lowercaseString
on an object expected to be anNSString
, but which is actually anNSMutableArray
.The crash can be observed in the following screenshots:
My proposed fix is straightforward. I have updated the code so that the call to
lowercaseString
on[style objectForKey: @"border-radius"]
is made only after theNSString
type check. This resolves the crash for us.Best,
~ Cameron