From 3feb709522b38f1aa5ddedc5e1aee28597375aab Mon Sep 17 00:00:00 2001 From: Dustin Mierau Date: Sun, 5 May 2024 19:17:39 -0700 Subject: Write better URL regular expressions for our needs. --- Hotline/macOS/MessageBoardView.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Hotline/macOS/MessageBoardView.swift') diff --git a/Hotline/macOS/MessageBoardView.swift b/Hotline/macOS/MessageBoardView.swift index 660ca05..2bd3713 100644 --- a/Hotline/macOS/MessageBoardView.swift +++ b/Hotline/macOS/MessageBoardView.swift @@ -12,8 +12,8 @@ struct MessageBoardView: View { if model.access?.contains(.canReadMessageBoard) != false { ScrollView { LazyVStack(alignment: .leading) { - ForEach(model.messageBoard, id: \.self) { - Text(LocalizedStringKey($0.convertLinksToMarkdown())) + ForEach(model.messageBoard, id: \.self) { msg in + Text(LocalizedStringKey(msg)) .tint(Color("Link Color")) .lineLimit(100) .lineSpacing(4) -- cgit