diff --git a/app/javascript/mastodon/features/notifications_v2/components/embedded_status_content.tsx b/app/javascript/mastodon/features/notifications_v2/components/embedded_status_content.tsx index 1a38be536b..26028fd1fe 100644 --- a/app/javascript/mastodon/features/notifications_v2/components/embedded_status_content.tsx +++ b/app/javascript/mastodon/features/notifications_v2/components/embedded_status_content.tsx @@ -87,7 +87,7 @@ export const EmbeddedStatusContent: React.FC<{ className={className} ref={handleContentRef} lang={language} - dangerouslySetInnerHTML={{ __html: content }} + dangerouslySetInnerHTML={{ __html: content.replace(/<\/p>

/g, '\n\n') }} /> ); };