标准化代码格式

这个提交包含在:
qingxu fu
2023-03-30 11:50:11 +08:00
父节点 2bf30d8a1e
当前提交 6dd83fb1b4
共有 2 个文件被更改,包括 28 次插入37 次删除

查看文件

@@ -106,8 +106,8 @@ def text_divide_paragraph(text):
# wtf input
lines = text.split("\n")
for i, line in enumerate(lines):
lines[i] = "<p>"+lines[i].replace(" ", "&nbsp;")+"</p>"
text = "\n".join(lines)
lines[i] = lines[i].replace(" ", "&nbsp;")
text = "</br>".join(lines)
return text
def markdown_convertion(txt):