gonzalezreal / swift-markdown-ui

Display and customize Markdown text in SwiftUI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Heading doesn't render when use right after tag <br>

warisappify opened this issue · comments

Thank you for contributing to MarkdownUI!

Before you submit an issue, please complete the report with all the relevant details for your bug and go through every item in the checklist.

Describe the bug
A clear and concise description of what the bug is.

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
Simply add these lines in your TextStylesView line number 38 and see the result.

    using the HTML `<br>`
    <br>#### See If This  Header Works      tag.

Expected behavior
It should show the Header (See If This Header Works).

Screenshots
SS

Version information

  • MarkdownUI: 2.3.0[master, ae799d0]
  • OS: iOS 17.2, macOS 14.3
  • Xcode: 15.2.0