Skip to content

Commit 069cca7

Browse files
[3.11] gh-81479: For Help => IDLE Doc, stop double-spacing some lists. (GH-114168) (#114171)
This matches Firefox format. Edge double-spaces non-simple list but I think it looks worse. (cherry picked from commit e07a400) Co-authored-by: Terry Jan Reedy <[email protected]>
1 parent 644b4a1 commit 069cca7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/idlelib/help.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def handle_starttag(self, tag, attrs):
102102
if self.level > 0:
103103
self.nested_dl = True
104104
elif tag == 'li':
105-
s = '\n* ' if self.simplelist else '\n\n* '
105+
s = '\n* '
106106
elif tag == 'dt':
107107
s = '\n\n' if not self.nested_dl else '\n' # Avoid extra line.
108108
self.nested_dl = False

0 commit comments

Comments
 (0)