Skip to content

Escaped HTML visible in package description on pypi.org #258

@sergei-maertens

Description

@sergei-maertens

(copied from pypi/warehouse#12162, where I got forwarded to this repo)

Describe the bug

After publishing the package, there is some escaped HTML visible:

<nav class="contents" id="contents">
(table of contens, rendered properly)
</nav>

Seeing this with these projects:

I suspect that something is going wrong with the `contents::`` rst directive, but I can't guarantee this.

Expected behavior

No HTML should be visible, instead pypi.org should properly convert the rst into HTML.

To Reproduce

My Platform

  • Brave 1.42.88 (Chromium 104.0.5112.81)
  • Packages published using the official Github action
  • Package built on Github CI with the latest setuptools/wheel that's available (pip install pip setuptools wheel --upgrade)

Additional context

I cannot reproduce this using any of the rst2htmlX.py scripts in my virtualenv.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions