diff --git a/apps/shared/ClawdisKit/Sources/ClawdisChatUI/ChatMessageViews.swift b/apps/shared/ClawdisKit/Sources/ClawdisChatUI/ChatMessageViews.swift index 87e009a07..ff8a7bc72 100644 --- a/apps/shared/ClawdisKit/Sources/ClawdisChatUI/ChatMessageViews.swift +++ b/apps/shared/ClawdisKit/Sources/ClawdisChatUI/ChatMessageViews.swift @@ -93,7 +93,7 @@ private struct ChatMessageBody: View { if self.isUser { fill = ClawdisChatTheme.userBubble } else if self.style == .onboarding { - fill = ClawdisChatTheme.card + fill = ClawdisChatTheme.onboardingAssistantBubble } else { fill = ClawdisChatTheme.assistantBubble } @@ -239,12 +239,16 @@ private struct MarkdownTextView: View { let textColor: Color var body: some View { - if let attributed = try? AttributedString(markdown: self.text) { + let normalized = self.text.replacingOccurrences( + of: "(?