mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2026-04-20 22:13:43 +00:00
Reapply a necessary change that I removed from #6599 (thanks @mamei16!)
This commit is contained in:
parent
e953af85cd
commit
64853f8509
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue