pypa / readme_renderer

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

List numbering broken in README markdown files #207

Closed o-alquimista closed 2 years ago

o-alquimista commented 2 years ago

Describe the bug

Lists in README.md files don't have the expected numbering. It keeps resetting to 1. where it shouldn't.

Expected behavior

Compare these two samples:

Why is PyPI parsing the same markdown differently?

To Reproduce

See samples above.

My Platform

Browser: Firefox 92.0

Additional context

PyPI: Captura de tela de 2021-09-18 13-07-58

GitLab: Captura de tela de 2021-09-18 13-08-10