From 8810685692b40e3f0a03593767da6072fff0155c Mon Sep 17 00:00:00 2001
From: Ariver <shanghai3168@gmail.com>
Date: Sun, 14 Jun 2026 14:47:14 +0800
Subject: [PATCH] Fix localized usage tip line breaks
---
src/Apptag/AppGridCollectionView.swift | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/Apptag/AppGridCollectionView.swift b/src/Apptag/AppGridCollectionView.swift
index ae2714e..2d41fc4 100644
--- a/src/Apptag/AppGridCollectionView.swift
+++ b/src/Apptag/AppGridCollectionView.swift
@@ -1217,7 +1217,7 @@
private func formattedTipDetail(_ text: String) -> String {
text
- .replacingOccurrences(of: "\\s*(?:-->|->|>|→|>)\\s*", with: "\n", options: .regularExpression)
+ .replacingOccurrences(of: "\\s*(?:-->|->|>|→|>|,)\\s*", with: "\n", options: .regularExpression)
.replacingOccurrences(of: "[ \\t]{2,}", with: " ", options: .regularExpression)
.replacingOccurrences(of: "\\n{2,}", with: "\n", options: .regularExpression)
.trimmingCharacters(in: .whitespacesAndNewlines)
--
Gitblit v1.9.3