gonzalezreal / swift-markdown-ui

Display and customize Markdown text in SwiftUI
MIT License
2.53k stars 318 forks source link

Weird space on a new line in a very complex app #294

Closed tzdesign closed 9 months ago

tzdesign commented 9 months ago

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

gonzalezreal commented 9 months ago

Hi @tzdesign,

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

tzdesign commented 9 months ago

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.