Skip to content

Commit

Permalink
Reapply a necessary change that I removed from #6599 (thanks @mamei16!)
Browse files Browse the repository at this point in the history
  • Loading branch information
oobabooga committed Dec 31, 2024
1 parent e953af8 commit 64853f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/html_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ def convert_to_markdown(string):
elif stripped_line.startswith('-') or stripped_line.startswith('*') or stripped_line.startswith('+') or stripped_line.startswith('>') or re.match(r'\d+\.', stripped_line):
result += '\n'
else:
result += '\n\n'
result += ' \n'

result = result.strip()
if is_code:
Expand Down

0 comments on commit 64853f8

Please sign in to comment.