Mastodon API: MFM not rendered, mentions sometimes incorrect, hashtags, links, formatting, etc. missing #161
Labels
No labels
accessibility
documentation
backend
bug
discussion
duplicate
enhancement
frontend
has-dependencies
help wanted
invalid
meta
more info needed
needs-rebase
performance
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: iceshrimp/iceshrimp#161
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
tl;dr: MFM isn't rendered to HTML for Mastodon API clients because
escapeMFM
just dumps MFM as text. While there is special-purpose handling for mentions (addMentionsToStatus
), it's implemented incorrectly.Impact: Hashtags, links, formatting, etc. in posts don't show up for Mastodon API clients. Mentions can be incorrectly formatted and/or link to the wrong account.
Details: There's a lot to copy over, so please see my comments and screenshots on the equivalent Firefish bug.
@zotan I think this issue auto-closed without being resolved because of the name of a cherry-pick commit.
Can you confirm that this is the case?