hometown-fork / hometown

A supported fork of Mastodon that provides local posting and a wider range of content types.
GNU Affero General Public License v3.0
734 stars 56 forks source link

Content Warnings not handled for Articles #1328

Open hughrun opened 11 months ago

hughrun commented 11 months ago

Steps to reproduce the problem

  1. Publish an ActivityPub Article with a content warning (summary);
  2. View article in Hometown
  3. See that the CW is simply listed as plain text above the rest of the post, which is also rendered as clear text ...

Expected behaviour

The summary from Articles should be passed through as a content warning and obscure the post

Actual behaviour

CW is listed in plain text and entire post is rendered.

Detailed description

This was originally reported as a bug in the BookWyrm repo (bookwyrm-social/bookwyrm/issues/2759).

However, I have tested it using a slightly modified version of Darius' express-activitypub code and it looks to be an issue at Hometown's end:

sad_cw_example_hometown

Specifications

Hometown v4.0.6+hometown-1.1.1