From e0984aab3463aab58c6dd9bdcb10e7b5ff0b82dd Mon Sep 17 00:00:00 2001 From: William Casarin Date: Thu, 16 Mar 2023 09:46:43 -0600 Subject: [PATCH] Add space at end of image url so you don't accidently corrupt things --- damus/Views/PostView.swift | 3 +++ 1 file changed, 3 insertions(+) diff --git a/damus/Views/PostView.swift b/damus/Views/PostView.swift index a3f507c7..f6f65ec1 100644 --- a/damus/Views/PostView.swift +++ b/damus/Views/PostView.swift @@ -169,6 +169,9 @@ struct PostView: View { combinedAttributedString.append(NSAttributedString(string: " ")) } combinedAttributedString.append(uploadedImageURL) + + // make sure we have a space at the end + combinedAttributedString.append(NSAttributedString(string: " ")) post = combinedAttributedString case .failed(let error):