Skip to content

feat: Show out-of-band-hashtags at the end of the content#2130

Merged
nikclayton merged 11 commits into
pachli:mainfrom
nikclayton:1551-oob-hashtags
Feb 21, 2026
Merged

feat: Show out-of-band-hashtags at the end of the content#2130
nikclayton merged 11 commits into
pachli:mainfrom
nikclayton:1551-oob-hashtags

Conversation

@nikclayton

@nikclayton nikclayton commented Feb 20, 2026

Copy link
Copy Markdown
Contributor

A status might contain one or more out-of-band-hashtags; hashtags
included by the account that created the status but that are not part
of the content in the status. Piefed, for example, allows these to be
created.

Previously these hashtags were not shown, which could cause user
confusion when a status appears in their timeline without an obvious
reason -- the user was following the hashtag but the hashtag wasn't
visible.

Make these hashtags visible by displaying them in a new paragraph at
the end of the content (if present).

Re-write and rename SetStatusContent to do this. The refactoring
subsumes the old setClickableText function, so this also means that
Markdown rendering (if enabled) will work in all places that used
to call this. Chiefly, that's account bios.

Hashtags now have to be normalised the same way Mastodon does,
handled in HashtagNormaliser.kt. This replaces the existing
AsciiFolding.kt.

Fixes #1551

A status might contain one or more out-of-band-hashtags; hashtags included
by the account that created the status but that are not part of the content
in the status. Piefed, for example, allows these to be created.

Previously these hashtags were not shown, which could cause user confusion
when a status appears in their timeline without an obvious reason -- the
user was following the hashtag but the hashtag wasn't visible.

Make these hashtags visible by displaying them in a new paragraph at the
end of the content.
any more. Update call sites for linkListener rename
@nikclayton nikclayton merged commit e8735b8 into pachli:main Feb 21, 2026
27 checks passed
@nikclayton nikclayton deleted the 1551-oob-hashtags branch February 27, 2026 13:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Show out-of-band hashtags

1 participant