pypa / readme_renderer

Safely render long_description/README files in Warehouse
Apache License 2.0
158 stars 89 forks source link

PyPi incorrectly renders RST definition lists #317

Open divenex opened 3 months ago

divenex commented 3 months ago

When the README.rst file contains RST definition lists, which requires a space before the colon, like

term : classifier
    Definition

They are rendered by PyPi without the colon and spaces, like termclassifier.

image

miketheman commented 3 months ago

Looks like we'd need to allow definition lists and associated tags through clean()

Tags are likely: dl, dt