Skip to content

Commit

Permalink
bpo-38022: IDLE: upgrade help.html to sphinx 2.x HTML5 output (GH-15664)
Browse files Browse the repository at this point in the history
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
miss-islington and taleinat authored Sep 3, 2019
1 parent ea21389 commit 52fd661
Show file tree
Hide file tree
Showing 2 changed files with 229 additions and 167 deletions.
Loading

0 comments on commit 52fd661

Please sign in to comment.