From 35df76cd130d427b744f9585d1bc3f39f6574dc7 Mon Sep 17 00:00:00 2001 From: gbanyan Date: Sun, 14 Dec 2025 12:43:18 +0800 Subject: [PATCH] Fix Mastodon widget line breaks not displaying MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Added whitespace-pre-line CSS class to preserve line breaks in Mastodon post content. Previously, newline characters were being collapsed into single spaces by default HTML whitespace handling. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- components/mastodon-feed.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/mastodon-feed.tsx b/components/mastodon-feed.tsx index de1ddb4..4f198c2 100644 --- a/components/mastodon-feed.tsx +++ b/components/mastodon-feed.tsx @@ -121,7 +121,7 @@ export function MastodonFeed() { )} {/* Content */} -

+

{truncated}