From 64853f85095f8671a28298b9563896e619d531da Mon Sep 17 00:00:00 2001 From: oobabooga <112222186+oobabooga@users.noreply.github.com> Date: Tue, 31 Dec 2024 14:43:22 -0800 Subject: [PATCH] Reapply a necessary change that I removed from #6599 (thanks @mamei16!) --- modules/html_generator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/html_generator.py b/modules/html_generator.py index 08147bb7..40a56731 100644 --- a/modules/html_generator.py +++ b/modules/html_generator.py @@ -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: