forked from indymedia/epicyon
More replacements
parent
e2c7648d0b
commit
a807e2167e
1
git.py
1
git.py
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue