Skip to content

Custom tags and EPUB builder #136

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

Open
m-aciek opened this issue May 15, 2025 · 1 comment · May be fixed by #137
Open

Custom tags and EPUB builder #136

m-aciek opened this issue May 15, 2025 · 1 comment · May be fixed by #137

Comments

@m-aciek
Copy link

m-aciek commented May 15, 2025

Recently CPython's conf.py replaced self-closing tags with simpler, HTML5 ones. It broke EPUB builds as those are not XHTML-compatible.

Could sphinxext-opengraph rewrite custom meta tags to self-closing for EPUB builder?

Alternatives: (1) could sphinxext-opengraph disable custom meta tags for EPUB builder (or allow it through config)? Or: (2) could sphinxext-opengraph disable adding all tags to the layout for EPUB builder (or allow disabling it for EPUB builder through config)?

@AA-Turner
Copy link
Member

PR welcome

@methane methane linked a pull request May 16, 2025 that will close this issue
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 a pull request may close this issue.

2 participants