mirror of https://gitlab.com/bashrc2/epicyon
Typo
parent
a807e2167e
commit
6a4d947d18
2
git.py
2
git.py
|
@ -15,7 +15,7 @@ def gitFormatContent(content: str) -> str:
|
||||||
"""
|
"""
|
||||||
contentStr = content.replace('<br>', '\n').replace('<br \\>', '\n')
|
contentStr = content.replace('<br>', '\n').replace('<br \\>', '\n')
|
||||||
contentStr = contentStr.replace('<p>', '').replace('</p>', '\n')
|
contentStr = contentStr.replace('<p>', '').replace('</p>', '\n')
|
||||||
contentSTr = contentStr.replace('<', '<').replace('>', '>')
|
contentStr = contentStr.replace('<', '<').replace('>', '>')
|
||||||
if 'From ' in contentStr:
|
if 'From ' in contentStr:
|
||||||
contentStr = 'From ' + contentStr.split('From ', 1)[1]
|
contentStr = 'From ' + contentStr.split('From ', 1)[1]
|
||||||
return contentStr
|
return contentStr
|
||||||
|
|
Loading…
Reference in New Issue