Spaces:
Build error
Build error
okabe
commited on
Commit
•
33adfc3
1
Parent(s):
17d9a06
fix: markdown display bug #84
Browse files- toolbox.py +2 -2
toolbox.py
CHANGED
@@ -107,8 +107,8 @@ def text_divide_paragraph(text):
|
|
107 |
# wtf input
|
108 |
lines = text.split("\n")
|
109 |
for i, line in enumerate(lines):
|
110 |
-
|
111 |
-
text = "".join(lines)
|
112 |
return text
|
113 |
|
114 |
def markdown_convertion(txt):
|
|
|
107 |
# wtf input
|
108 |
lines = text.split("\n")
|
109 |
for i, line in enumerate(lines):
|
110 |
+
lines[i] = "<p>"+lines[i].replace(" ", " ")+"</p>"
|
111 |
+
text = "\n".join(lines)
|
112 |
return text
|
113 |
|
114 |
def markdown_convertion(txt):
|