Spaces:
Runtime error
Runtime error
JohnSmith9982
commited on
Commit
•
f95d65a
1
Parent(s):
b28c9ba
Update app.py
Browse files
app.py
CHANGED
@@ -61,6 +61,14 @@ def parse_text(text):
|
|
61 |
line = line.replace("<", "<")
|
62 |
line = line.replace(">", ">")
|
63 |
line = line.replace(" ", " ")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
64 |
lines[i] = "<br>"+line
|
65 |
text = "".join(lines)
|
66 |
return text
|
|
|
61 |
line = line.replace("<", "<")
|
62 |
line = line.replace(">", ">")
|
63 |
line = line.replace(" ", " ")
|
64 |
+
line = line.replace("*", "*")
|
65 |
+
line = line.replace("_", "_")
|
66 |
+
line = line.replace("{", "{")
|
67 |
+
line = line.replace("}", "}")
|
68 |
+
line = line.replace("[", "[")
|
69 |
+
line = line.replace("]", "]")
|
70 |
+
line = line.replace("|", "|")
|
71 |
+
line = line.replace("-", "-")
|
72 |
lines[i] = "<br>"+line
|
73 |
text = "".join(lines)
|
74 |
return text
|