forked from indymedia/epicyon
Forward slash
parent
7d390e6e72
commit
edacd03713
2
git.py
2
git.py
|
@ -13,7 +13,7 @@ def gitFormatContent(content: str) -> str:
|
|||
""" replace html formatting, so that it's more
|
||||
like the original patch file
|
||||
"""
|
||||
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('<', '<').replace('>', '>')
|
||||
if 'From ' in contentStr:
|
||||
|
|
Loading…
Reference in New Issue