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 }}