pypa / readme_renderer

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

fix: enable `colspan` and `rowspan` attributes #245

Closed miketheman closed 2 years ago

miketheman commented 2 years ago

Previously exlcuded directives made for incorrect rendering of rst table cells spanning more than a single column or row.

Fixes #182

Signed-off-by: Mike Fiedler miketheman@gmail.com

miketheman commented 2 years ago

While debugging this, I created a jsfiddle that helped demonstrate the visual differences from the code before and after: https://jsfiddle.net/miketheman/mpzavs5h/ (see results panel)