镜像自地址
https://github.com/binary-husky/gpt_academic.git
已同步 2025-12-06 14:36:48 +00:00
fix: markdown display bug #84
这个提交包含在:
@@ -107,8 +107,8 @@ def text_divide_paragraph(text):
|
|||||||
# wtf input
|
# wtf input
|
||||||
lines = text.split("\n")
|
lines = text.split("\n")
|
||||||
for i, line in enumerate(lines):
|
for i, line in enumerate(lines):
|
||||||
if i!=0: lines[i] = "<p>"+lines[i].replace(" ", " ")+"</p>"
|
lines[i] = "<p>"+lines[i].replace(" ", " ")+"</p>"
|
||||||
text = "".join(lines)
|
text = "\n".join(lines)
|
||||||
return text
|
return text
|
||||||
|
|
||||||
def markdown_convertion(txt):
|
def markdown_convertion(txt):
|
||||||
|
|||||||
在新工单中引用
屏蔽一个用户