diff --git a/src/pages/home.tsx b/src/pages/home.tsx index d385b839..410217f9 100644 --- a/src/pages/home.tsx +++ b/src/pages/home.tsx @@ -240,14 +240,14 @@ const MinimalHomePage: React.FC = () => { href={currentProfile.announce_url} target="_blank" rel="noopener noreferrer" - className="inline-flex items-center gap-2 text-base font-semibold text-foreground hover:underline hover:opacity-80 transition-all" - title={currentProfile.announce_url} + className="inline-flex items-center gap-2 text-base font-semibold text-foreground hover:underline hover:opacity-80 transition-all whitespace-pre-wrap" + title={currentProfile.announce_url.replace(/\\n/g, '\n')} > - {currentProfile.announce} + {currentProfile.announce.replace(/\\n/g, '\n')} ) : ( -

+

{currentProfile.announce}

)} @@ -268,7 +268,7 @@ const MinimalHomePage: React.FC = () => {