reorganize mfm attributes in order they're listed in misskey repo, add missing ones #7904

Merged
lambadalambda merged 4 commits from mfm-extended into develop 2026-05-23 05:54:49 +00:00
Owner

Checklist

  • Adding a changelog: In the changelog.d directory, create a file named <code>.<type>.

this adds missing attributes and classnames for mfm

list order is taken from github.com/MisskeyIO/misskey@431e1c1d35/packages/frontend-shared/js/const.ts (L135)

### Checklist - [x] Adding a changelog: In the `changelog.d` directory, create a file named `<code>.<type>`. <!-- `<code>` can be anything, but we recommend using a more or less unique identifier to avoid collisions, such as the branch name. `<type>` can be `add`, `change`, `remove`, `fix`, `security` or `skip`. `skip` is only used if there is no user-visible change in the PR (for example, only editing comments in the code). Otherwise, choose a type that corresponds to your change. In the file, write the changelog entry. For example, if a PR adds group functionality, we can create a file named `group.add` and write `Add group functionality` in it. If one changelog entry is not enough, you may add more. But that might mean you can split it into two PRs. Only use more than one changelog entry if you really need to (for example, when one change in the code fix two different bugs, or when refactoring). --> this adds missing attributes and classnames for mfm list order is taken from https://github.com/MisskeyIO/misskey/blob/431e1c1d3561d28663e3241b90a7ef8d05b78bdf/packages/frontend-shared/js/const.ts#L135
hj added 2 commits 2026-05-18 18:07:53 +00:00
"changelog"
Some checks failed
ci/woodpecker/pr/unit-testing-elixir-1.15 Pipeline is pending
ci/woodpecker/pr/unit-testing-elixir-1.18 Pipeline is pending
ci/woodpecker/pr/changelog Pipeline was canceled
ci/woodpecker/pr/lint Pipeline was canceled
c428cf43e8
extraneous commas
All checks were successful
ci/woodpecker/pr/changelog Pipeline was successful
ci/woodpecker/pr/lint Pipeline was successful
ci/woodpecker/pr/unit-testing-elixir-1.15 Pipeline was successful
ci/woodpecker/pr/unit-testing-elixir-1.18 Pipeline was successful
46a2808690
@ -83,48 +83,55 @@ defmodule Pleroma.HTML.Scrubber.Default do
"quote-inline",
"invisible",
"ellipsis",
"mfm-center",

This one got removed completely.

This one got removed completely.
Author
Owner

yeah, it's not in the list in https://github.com/MisskeyIO/misskey/blob/main/packages/frontend-shared/js/const.ts

was it seen in the wild, or?

yeah, it's not in the list in https://github.com/MisskeyIO/misskey/blob/main/packages/frontend-shared/js/const.ts was it seen in the wild, or?

it's in akkoma

it's in akkoma
Author
Owner

I guess we can keep it then

I guess we can keep it then
Author
Owner

fixed

fixed
Update priv/scrubbers/default.ex
All checks were successful
ci/woodpecker/pr/changelog Pipeline was successful
ci/woodpecker/pr/lint Pipeline was successful
ci/woodpecker/pr/unit-testing-elixir-1.15 Pipeline was successful
ci/woodpecker/pr/unit-testing-elixir-1.18 Pipeline was successful
cda6738309
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
pleroma/pleroma!7904
No description provided.