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

Wrong font size with blank bullet list #344

Open
3 tasks done
schwindt opened this issue Aug 22, 2024 · 0 comments
Open
3 tasks done

Wrong font size with blank bullet list #344

schwindt opened this issue Aug 22, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@schwindt
Copy link

A blank bullet list leads to an incorrect font size.

Checklist

  • I can reproduce this issue with a vanilla SwiftUI project.
  • I can reproduce this issue using the main branch of this package.
  • This bug hasn't been addressed in an existing GitHub issue.

Steps to reproduce
Explanation of how to reproduce the incorrect behavior. This could include an attached project, a link to code, or a Markdown-formatted text exhibiting the issue.

  1. try to preview this markdown string:
  2. "**Banana**:\n - oink", this one behaves correctly
  3. try this string: "**Banana**:\n - "
  4. In this case the word Banana will be written with much bigger font size

Expected behavior
It should be the same font size

Screenshots
Bildschirmfoto 2024-08-22 um 14 46 06

Bildschirmfoto 2024-08-22 um 14 45 56

Version information

  • MarkdownUI: 2.3.1
  • OS: iOS 17.5
  • Xcode: 15.0
@gonzalezreal gonzalezreal added the bug Something isn't working label Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants