Skip to content

Line Breaks don't properly render in AnnouncementDetailsView #29

@ryan-roche

Description

@ryan-roche

This one has been really tormenting me. I've been trying to figure this out, and while they work fine in Xcode Previews and even in the simulator, on actual hardware, line breaks don't properly render.

They aren't shown as raw text (as in, it doesn't literally show the "\n" in the text), but they don't actually break the line, either. I have absolutely no clue what's causing this, but it might be a larger bug in swift-markdown-ui.

Might look into making a PR in swift-markdown-ui over winter break, but in the meantime I'm trying to see if there's any specific way I can format the JSON messages to not have this happen.

Honestly, it might be easier to just have the server message entries in the manifest just point to markdown files instead. It'll require an app update, but it's easier than trying to diagnose an issue that for some reason only occurs on actual hardware.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions