-
Notifications
You must be signed in to change notification settings - Fork 90
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
bibtex entry on PyPI/TestPyPI renders strikethrough element <s> around curly braces #261
Comments
Thanks for the detailed example, I'll take a deeper look at this soon. |
This seems to stem from the setting in place to support Pygments highlighting: readme_renderer/readme_renderer/rst.py Lines 96 to 98 in e662bf4
Removing this setting extracts the expected content. We use the Pygments short codes in warehouse CSS here: https://github.com/pypi/warehouse/blob/665eb50ce0066afa555f34c1ae5637bdd9361b59/warehouse/static/sass/blocks/_project-description.scss#L283-L516 It's unclear why docutils would behave differently for bibtex for this section only. |
Digging further, it's not docutils at all, it's driven from Pygments syntax highlighter, as it establishes a short name token for syntax classes, and has been It looks like with the changeover to the HTML5 writer in #253 the |
Fixes pypa#261 Signed-off-by: Mike Fiedler <[email protected]>
@matthewfeickert The code here is fixed, and once |
Fantastic. Thanks so much @miketheman! |
Describe the bug
This is scikit-hep/pyhf#2024.
On PyPI and TestPyPI the following RST
gets rendered out with the strikethrough element
<s>
around curly braces:Expected behavior
I would expect that it get rendered out correctly without the
<s>
like it is in the project GitHub README and on the project docs.To Reproduce
My Platform
This is not platform dependent. I've tested this on Chrome and Firefox on both Linux and Mac.
Additional context
None.
The text was updated successfully, but these errors were encountered: