Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strip <figure><figcaption> completely. #29747

Open
pfefferle opened this issue Mar 25, 2024 · 0 comments
Open

Strip <figure><figcaption> completely. #29747

pfefferle opened this issue Mar 25, 2024 · 0 comments
Labels
suggestion Feature suggestion

Comments

@pfefferle
Copy link

Pitch

Because Mastodon does not support inline images, a federated

<figure>
    <img src="..." />
    <figcaption>Image Description</figcaption>
</figure>

will only show the (then context-less) Image-Caption.

It would be helpfull to remove the <figure> element completely to prevent such artefacts.

Motivation

There are platforms that support inline images (like friendi.ca for example), so it would be helpful if the platforms (like Mastodon) that do not support it, will strip the unsupported (media) elements completely instead of transforming them to <p></p>.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
suggestion Feature suggestion
Projects
None yet
Development

No branches or pull requests

1 participant