From a266b6d9bac396bc5300b75bc6f3cccf7ba7db9a Mon Sep 17 00:00:00 2001 From: Ricardo Date: Fri, 13 Mar 2026 14:37:40 +0100 Subject: [PATCH] fix: render compose reply context with card content styling (v2.8.2) The reply context on the compose page rendered raw Mastodon HTML in a bare
, causing hashtag links to display as block elements (each on its own line with # separated from the tag name). Wrapping the content in a
applies the same inline hashtag/mention/invisible-span CSS rules used in the timeline. Confab-Link: http://localhost:8080/sessions/cc343b15-8d10-43cd-a48f-ca912eb79b83 --- package.json | 2 +- views/activitypub-compose.njk | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 89b231a..51ddbe1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@rmdes/indiekit-endpoint-activitypub", - "version": "2.8.1", + "version": "2.8.2", "description": "ActivityPub federation endpoint for Indiekit via Fedify. Adds full fediverse support: actor, inbox, outbox, followers, following, syndication, and Mastodon migration.", "keywords": [ "indiekit", diff --git a/views/activitypub-compose.njk b/views/activitypub-compose.njk index c1783fb..1e21f95 100644 --- a/views/activitypub-compose.njk +++ b/views/activitypub-compose.njk @@ -13,9 +13,9 @@
{% endif %} {% if replyContext.content and (replyContext.content.html or replyContext.content.text) %} -
+
{{ replyContext.content.html | safe if replyContext.content.html else replyContext.content.text | truncate(300) }} -
+ {% endif %} {{ replyTo }}