Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS18 issue: paragraph spacing is losing? #1281

Open
ximmyxiao opened this issue Jul 24, 2024 · 0 comments
Open

iOS18 issue: paragraph spacing is losing? #1281

ximmyxiao opened this issue Jul 24, 2024 · 0 comments

Comments

@ximmyxiao
Copy link
Contributor

ximmyxiao commented Jul 24, 2024

image

As the picture says: the image attachment is being placed too tightly to the text content in iOS18 , but in iOS17 ,everything is fine .

I have debug the code ,found that DTHTMLElement::attributedString
will call the appendString in NSMutableAttributedString (HTML)
image

But this call to appendString seems not call the method in the NSMutableAttributedString (HTML) in iOS18 , maybe the system provide this function it self?

And because of this method chaos , the paragraph spacing attribute is missing in iOS18 and cause the problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant