Terry J. Reedy added the comment:
Thank you for the research, including the crucial commit! What I understand
from the quotes:
1. Sphinx 2 writes HTML5 by default. The html5 writers always writes
paragraphs because they are required by the xhtml used by html5.
2. Firefox, for instance, di
Cheryl Sabella added the comment:
Adding on to my last post, it's not in the CSS, but it's that Sphinx 2.0
switches from a default of HTML4 to HTML5. The docutils comments explain the
difference between the two.
https://github.com/sphinx-doc/sphinx/commit/a3cdd465ecf018fa5213b6b2c1c4e495973
Cheryl Sabella added the comment:
tl;dr I think it's a difference in the CSS for the HTML5 writer.
In the HTMLTranslator class for docutils writer [1], I found the following
docstring, specifically the line "The html5_polyglot writer solves this usin
New submission from Terry J. Reedy :
Sphinx 2.? generates different html than 1.8 such that the display of
Help ==> IDLE Help has extra blank lines. Among possibly other things, the
contents of ... is wrapped in ... and blank lines appear
between the bullet and text.
-coded in 100% pure P