Spaces:
Sleeping
Sleeping
binary-husky
commited on
Commit
•
3d3d259
1
Parent(s):
fffa536
Update toolbox.py
Browse files- toolbox.py +1 -1
toolbox.py
CHANGED
@@ -224,7 +224,7 @@ def markdown_convertion(txt):
|
|
224 |
content = content.replace('\n', '</br>')
|
225 |
return f"<font color=\"#00FF00\">$$</font><font color=\"#FF00FF\">{content}</font><font color=\"#00FF00\">$$</font>"
|
226 |
else:
|
227 |
-
return f"<font color=\"#00FF00\">$</font><font color=\"#FF00FF\"
|
228 |
|
229 |
def replace_math_render(match):
|
230 |
content = match.group(1)
|
|
|
224 |
content = content.replace('\n', '</br>')
|
225 |
return f"<font color=\"#00FF00\">$$</font><font color=\"#FF00FF\">{content}</font><font color=\"#00FF00\">$$</font>"
|
226 |
else:
|
227 |
+
return f"<font color=\"#00FF00\">$</font><font color=\"#FF00FF\">{content}</font><font color=\"#00FF00\">$</font>"
|
228 |
|
229 |
def replace_math_render(match):
|
230 |
content = match.group(1)
|