Spaces:
Sleeping
Sleeping
Update helper_functions_api.py
Browse files- helper_functions_api.py +1 -1
helper_functions_api.py
CHANGED
|
@@ -10,7 +10,7 @@ import markdown
|
|
| 10 |
|
| 11 |
def md_to_html(md_text):
|
| 12 |
html_content = markdown.markdown(md_text,extensions=["extra"])
|
| 13 |
-
return html_content
|
| 14 |
|
| 15 |
####------------------------------ OPTIONAL--> User id and persistant data storage-------------------------------------####
|
| 16 |
from datetime import datetime
|
|
|
|
| 10 |
|
| 11 |
def md_to_html(md_text):
|
| 12 |
html_content = markdown.markdown(md_text,extensions=["extra"])
|
| 13 |
+
return html_content.replace('\n', '')
|
| 14 |
|
| 15 |
####------------------------------ OPTIONAL--> User id and persistant data storage-------------------------------------####
|
| 16 |
from datetime import datetime
|