Forward slash

main
Bob Mottram 2020-05-02 17:50:02 +00:00
parent 7d390e6e72
commit edacd03713
1 changed files with 1 additions and 1 deletions

2
git.py
View File

@ -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('&lt;', '<').replace('&gt;', '>')
if 'From ' in contentStr: