Skip to content

Commit

Permalink
bpo-38022: IDLE: upgrade help.html to sphinx 2.x HTML5 output (python…
Browse files Browse the repository at this point in the history
…GH-15664)

The HTML5 output from Sphinx 2.x adds  '<p>' tags within list elements.  Using a new prevtag attribute, ignore these instead of emitting unwanted '\n\n'.

Also stop looking for 'first' classes on tags (no longer present) and fix the bug of double-spacing instead of single spacing after <pre> blocks.
(cherry picked from commit 580bdb0)

Co-authored-by: Tal Einat <taleinat+github@gmail.com>
  • Loading branch information
taleinat authored and miss-islington committed Sep 3, 2019
1 parent 54dac6c commit 11632d2
Show file tree
Hide file tree
Showing 2 changed files with 229 additions and 167 deletions.
Loading

0 comments on commit 11632d2

Please sign in to comment.