You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@answer.apache.org by li...@apache.org on 2025/10/27 02:20:57 UTC
(answer-plugins) 04/12: fix: remove spaces from the URL
This is an automated email from the ASF dual-hosted git repository.
linkinstar pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/answer-plugins.git
commit 8b775b1031912820a1f8d6b1bb5b7b4e6475c2f4
Author: shuai <li...@sifou.com>
AuthorDate: Thu Aug 14 14:45:49 2025 +0800
fix: remove spaces from the URL
---
quick-links/Component.tsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/quick-links/Component.tsx b/quick-links/Component.tsx
index ab8da7f..6f4365f 100644
--- a/quick-links/Component.tsx
+++ b/quick-links/Component.tsx
@@ -68,7 +68,7 @@ const Component = ({ navigate, request }) => {
{links?.map((link) => {
const name = link.split(',')[0]
- const url = link.split(',')[1]
+ const url = link.split(',')[1]?.trim()
if (!url || !name) {
return null;
}