Fix broken markdown renderer
This switches away from the old markdown renderer to the new one at https://github.com/damus-io/swift-markdown-ui Changelog-Fixed: Fix broken markdown renderer
This commit is contained in:
@@ -1243,7 +1243,7 @@ func render_notification_content_preview(cache: EventCache, ev: NostrEvent, prof
|
||||
}
|
||||
|
||||
switch artifacts {
|
||||
case .parts:
|
||||
case .longform:
|
||||
// we should never hit this until we have more note types built out of parts
|
||||
// since we handle this case above in known_kind == .longform
|
||||
return String(ev.content.prefix(prefix_len))
|
||||
|
||||
Reference in New Issue
Block a user