Markdown rendering of comment text #50
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Comment text is not properly markdown rendered - two paragraphs are rendered as one big text on issue text.
Use this issue as reference, it is showing as one block but is multiple paragraphs.
Are lists working?
Implemented in
d0ec533.The broken renderer was Foundation
AttributedString(markdown:): it retained block structure only as presentation metadata, so conversion toNSAttributedStringconcatenated paragraphs and list items.MarkdownContentrenderer.TESTING.mdfor every affected surface.Verification:
cargo fmt --all -- --checkRUSTFLAGS="-D warnings" cargo check --workspace --all-targetscargo clippy --workspace --all-targets -- -D warningscargo test --workspace(31 tests passed)