Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Lib/idlelib/help.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ def handle_endtag(self, tag):
def handle_data(self, data):
"Handle date segments in help.html."
if not self.hdrlink:
d = data if self.pre else data.replace('\n', ' ')
d = data if self.pre else data.replace('\n', ' ').replace('\r', ' ')
if self.tags == 'h1':
try:
self.hprefix = d[:d.index(' ')]
Expand Down
Loading