From e26ab6a43351c235ed896bd3c7e6b9772fbcd598 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Tue, 30 Dec 2025 18:19:20 -0600 Subject: [PATCH] Fix URL wrapping in NoteContent --- src/components/NoteContent.tsx | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/components/NoteContent.tsx b/src/components/NoteContent.tsx index a7a7c30..ffd364b 100644 --- a/src/components/NoteContent.tsx +++ b/src/components/NoteContent.tsx @@ -45,7 +45,7 @@ export function NoteContent({ href={url} target="_blank" rel="noopener noreferrer" - className="text-blue-500 hover:underline" + className="text-blue-500 hover:underline break-all" > {url} @@ -61,13 +61,18 @@ export function NoteContent({ parts.push( ); + } else if (decoded.type === 'nprofile') { + const pubkey = decoded.data.pubkey; + parts.push( + + ); } else { // For other types, just show as a link parts.push( {fullMatch}