mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2025-01-08 03:37:02 +01:00
Reapply a necessary change that I removed from #6599 (thanks @mamei16!)
This commit is contained in:
parent
e953af85cd
commit
64853f8509
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user