Skip to content

chore: update mkdocs-rss-plugin fork to latest commit with tests#74

Merged
Zerthick merged 1 commit into
mainfrom
chore/update-rss-plugin-fork
Jul 22, 2026
Merged

chore: update mkdocs-rss-plugin fork to latest commit with tests#74
Zerthick merged 1 commit into
mainfrom
chore/update-rss-plugin-fork

Conversation

@Zerthick

Copy link
Copy Markdown
Collaborator

Summary

Updates the forked mkdocs-rss-plugin reference to the latest commit, which includes an improved approach for the double-encoding fix and a test suite.

Upstream PR: Guts/mkdocs-rss-plugin#451

What changed in the fork

  • Double-encoding fix moved to Python — Instead of replace() filters in the Jinja template, now uses html_module.unescape() in plugin.py before passing data to the template. Jinja's |e then does a single correct escape.
  • Test suite added — 3 new tests in tests/test_rss_validation.py covering all RSS validation fixes, plus a fixture with special characters (& < >). All 36 tests pass.

This is a follow-up to #73 which initially switched to the fork.

…improved fix

- Fork now includes test suite for RSS validation compliance
- Double-encoding fix moved from template to Python (html_module.unescape)
- Cleaner solution: unescape at source, let Jinja |e do single escape
@Zerthick
Zerthick merged commit 4c2d983 into main Jul 22, 2026
@Zerthick
Zerthick deleted the chore/update-rss-plugin-fork branch July 22, 2026 04:42
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.

1 participant