From c8f8b9d430c99026b474eb349b4f5a8cce371af7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=9D=B4=EC=84=B8=EB=AF=BC?= <89172499+semnil5202@users.noreply.github.com> Date: Sun, 5 May 2024 17:00:10 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20www=EB=A1=9C=EB=A7=8C=20=EB=A7=81?= =?UTF-8?q?=ED=81=AC=EB=A5=BC=20=EC=9E=91=EC=84=B1=ED=96=88=EC=9D=84=20?= =?UTF-8?q?=EB=95=8C=20=EB=9D=BC=EC=9A=B0=ED=8C=85=20=EC=98=A4=EB=A5=98=20?= =?UTF-8?q?=ED=95=B4=EA=B2=B0=20(#152)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/components/HyperLinkText/HyperLinkText.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pages/components/HyperLinkText/HyperLinkText.tsx b/src/pages/components/HyperLinkText/HyperLinkText.tsx index aa6a5d5a..52fe004f 100644 --- a/src/pages/components/HyperLinkText/HyperLinkText.tsx +++ b/src/pages/components/HyperLinkText/HyperLinkText.tsx @@ -20,13 +20,14 @@ const convertHyperLinkTexts = ({ font, color, lineHeight = 'normal', children: t {line.split(' ').map((word, idx) => { const isFirst = idx === 0; + const link = word.startsWith('www') ? `https://${word}` : word; if (LINK_REG_EXP.test(word)) { return (