Spaces:
Sleeping
Sleeping
Merge pull request #87 from Okabe-Rintarou-0/fix-markdown-display
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):
|