From 5af84583ab8e78d10268ebc36d323c187724192c Mon Sep 17 00:00:00 2001 From: Max Goedjen Date: Fri, 5 Jan 2024 12:33:10 -0800 Subject: [PATCH] Fix separator parsing in update view (#502) --- Sources/Secretive/Views/UpdateView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Secretive/Views/UpdateView.swift b/Sources/Secretive/Views/UpdateView.swift index 2476a78..17fe641 100644 --- a/Sources/Secretive/Views/UpdateView.swift +++ b/Sources/Secretive/Views/UpdateView.swift @@ -38,7 +38,7 @@ struct UpdateDetailView: View { for line in update.body.split(whereSeparator: \.isNewline) { let attributed: Text let split = line.split(separator: " ") - let unprefixed = split.dropFirst().joined() + let unprefixed = split.dropFirst().joined(separator: " ") if let prefix = split.first { switch prefix { case "#":