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

Remove markdown support #2962

Merged
merged 1 commit into from
Dec 8, 2024
Merged

Remove markdown support #2962

merged 1 commit into from
Dec 8, 2024

Conversation

jvoisin
Copy link
Collaborator

@jvoisin jvoisin commented Dec 1, 2024

It was added in 2022 by #1513, to support blog.laravel.com, which has since switched to HTML. The Atom 0.3/1.0, RSS 1.0/2.0, RDF, and JSON formats don't support markdown in their spec, and any website serving it there should be considered as buggy and fixed.

This shaves off 2MB from the miniflux binary, which is quite steep for a feature that nobody is/should be using, and remove a dependency which is always a good thing.

CC @gabe565 who added support for it

@gabe565
Copy link
Contributor

gabe565 commented Dec 2, 2024

Related: #2938

I'm not against removing this since it will shrink the binary by ~10%, and feeds should never have markdown. We should note that this is a breaking change, though. For example, anybody using www.recalbox.com will need to set the feed to fetch original content.

@gabe565
Copy link
Contributor

gabe565 commented Dec 3, 2024

I chatted with the Recalbox webmaster on Discord and they should be updating the feed to serve HTML soon.

@fguillot
Copy link
Member

fguillot commented Dec 8, 2024

Please rebase, and update go.mod because there is a conflict that prevent merging.

@fguillot fguillot linked an issue Dec 8, 2024 that may be closed by this pull request
1 task
It was added in 2022 by miniflux#1513, to support blog.laravel.com, which has
since switched to HTML. The Atom 0.3/1.0, RSS 1.0/2.0, RDF, and JSON formats
don't support markdown in their spec, and any website serving it there should
be considered as buggy and fixed.

This shaves off 2MB from the miniflux binary, which is quite steep for a
feature that nobody is/should be using, and remove a dependency which is always
a good thing.
@jvoisin
Copy link
Collaborator Author

jvoisin commented Dec 8, 2024

Done :)

@fguillot fguillot merged commit a913f3f into miniflux:main Dec 8, 2024
16 checks passed
@jvoisin jvoisin deleted the nomarkdown branch December 26, 2024 23:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

What's the point of the markdown filter?
3 participants