You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you have a string that contains multiple paragaphs all paragraphs after the first one will be truncated after the first line. This happens even if the markdown string passed to SwiftyMarkdown contains no special markdown formatting.
For example if passed some multi paragraph text it would render like this:
This is the first paragraph were text wraps properly
and lines are not truncated. It can carry on for multiple
lines just fine.
But every paragraph after the first will a its text trun....
And the third paragraph will appear truncated as we...
If you pass the exact same text as an NSAttributedString directly (not using SwiftyMarkdown) then it lays out correctly.
I'm not sure what is causing this as I don't quite understand the inner workings or how attributed strings are built. I don't know if Apple changed something behind the scenes here or if it's just a bug with the beta but it's probably worth looking into.
Thanks
The text was updated successfully, but these errors were encountered:
Everything works fine prior to the iOS 16 betas.
If you have a string that contains multiple paragaphs all paragraphs after the first one will be truncated after the first line. This happens even if the markdown string passed to SwiftyMarkdown contains no special markdown formatting.
For example if passed some multi paragraph text it would render like this:
If you pass the exact same text as an NSAttributedString directly (not using SwiftyMarkdown) then it lays out correctly.
I'm not sure what is causing this as I don't quite understand the inner workings or how attributed strings are built. I don't know if Apple changed something behind the scenes here or if it's just a bug with the beta but it's probably worth looking into.
Thanks
The text was updated successfully, but these errors were encountered: