From 9919d2fc04b45d7b28934b87ad744a1ae154312f Mon Sep 17 00:00:00 2001 From: Pieter Date: Tue, 31 Mar 2026 10:03:05 +0200 Subject: [PATCH] Fix double @ symbols and make status text clickable MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Fixed author display to show single @ (was showing @@account) - Made status text clickable linking to full Mastodon post - Fixed author links to point to Mastodon instances instead of Bluesky 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- app/templates/flagged.html | 26 +++++--------------------- 1 file changed, 5 insertions(+), 21 deletions(-) diff --git a/app/templates/flagged.html b/app/templates/flagged.html index d7edc43..7780f26 100644 --- a/app/templates/flagged.html +++ b/app/templates/flagged.html @@ -118,36 +118,20 @@ {% if item.author_handle %} - - @{{ item.author_handle }} - - {% else %} - {{ item.author_did[:30] }}… - {% endif %} - {% if item.item_type == 'mention' and item.mentioned_handle %} - → - - @{{ item.mentioned_handle }} + + {{ item.author_handle }} {% endif %} - {% if item.source_type == 'post' %} - + {% if item.url %} + {{ item.text | truncate_text(200) }} {% else %} - {# Convert at://did:plc:xxx/app.bsky.feed.post/yyy to https://bsky.app/profile/handle/post/yyy #} - {% set uri_parts = item.item_id.replace('at://', '').split('/') %} - {% if uri_parts|length >= 3 and item.author_handle %} - - {{ item.text | truncate_text(200) }} - - {% else %} - {{ item.text | truncate_text(200) }} - {% endif %} + {{ item.text | truncate_text(200) }} {% endif %}