mirror of
https://gitlab.com/bashrc2/epicyon
synced 2026-10-31 18:05:22 +00:00
More replacements
This commit is contained in:
1 parent
e2c7648d0b
commit
a807e2167e
1 file changed
+1
@@ -15,6 +15,7 @@ def gitFormatContent(content: str) -> str:
|
||||
"""
|
||||
contentStr = content.replace('<br>', '\n').replace('<br \\>', '\n')
|
||||
contentStr = contentStr.replace('<p>', '').replace('</p>', '\n')
|
||||
contentSTr = contentStr.replace('<', '<').replace('>', '>')
|
||||
if 'From ' in contentStr:
|
||||
contentStr = 'From ' + contentStr.split('From ', 1)[1]
|
||||
return contentStr
|
||||
|
||||
Reference in new issue
Block a user