gonzalezreal / swift-markdown-ui

Display and customize Markdown text in SwiftUI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Weird space on a new line in a very complex app

tzdesign opened this issue · comments

commented

Describe the bug

I put a big chunk of markdown in the Markdown view and it looks like that every single new line get's a small space up front.

If I create a complete new App and copy the API Text in The Markdown view, this is not happening.

Screenshots

Left the fresh new app / right the big old one

Bildschirmfoto 2024-01-26 um 15 04 22

Marked spaces:

Bildschirmfoto 2024-01-26 um 15 04 09

Version information

  • MarkdownUI: [e.g. 2.3.0]
  • OS: [e.g. iOS 16.6]
  • Xcode: [e.g. 15.2]

Hi @tzdesign,

Could you please provide a project that reproduces the issue? Otherwise, I can't help you with this.

commented

Sorry, but I wasn't able to.

I have a very complex view structure. I will checkout the markdown project myself and try to find out where they are comping from.

You can close it and I will write here if I can find any clues.