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
This is an excellent library that meets all our needs except one: list formatting.
For an unordered list like the following:
<ul>
<li>ZMarkupParser is a pure-Swift library that helps you convert HTML strings into NSAttributedString with customized styles and tags.</li>
<li>ZMarkupParser is a pure-Swift library that helps you convert HTML strings into NSAttributedString with customized styles and tags.</li>
<li>ZMarkupParser is a pure-Swift library that helps you convert HTML strings into NSAttributedString with customized styles and tags.</li>
</ul>
The rendered output is:
This falls short of our need in a couple ways:
There is no spacing between the bullet and the text. This makes them very hard to read.
The wrapped text should align with the start of the first line, similar to the following:
It would be great if this could be achieved. Otherwise lists are fairly unusable.
The text was updated successfully, but these errors were encountered:
Thanks @chulbert for reporting this issue and @pykaso for providing the solution PR.
Based on the PR provided by @pykaso, I gained a lot of inspiration regarding HTML list formatting.
As a result, I studied the entire problem and proposed a more comprehensive fix and solution.
Thank you all for your support and patience.
This is an excellent library that meets all our needs except one: list formatting.
For an unordered list like the following:
The rendered output is:
This falls short of our need in a couple ways:
It would be great if this could be achieved. Otherwise lists are fairly unusable.
The text was updated successfully, but these errors were encountered: