Indentation

merge-requests/8/head
Bob Mottram 2020-10-30 12:12:09 +00:00
parent 26c490757d
commit 37e188b0a3
1 changed files with 2 additions and 2 deletions

View File

@ -69,8 +69,8 @@ def htmlReplaceEmailQuote(content: str) -> str:
if '>\u201c' in content:
if '\u201d<' in content:
if content.count('>\u201c') == content.count('\u201d<'):
content = content.replace('>\u201c', '><blockquote>')
content = content.replace('\u201d<', '</blockquote><')
content = content.replace('>\u201c', '><blockquote>')
content = content.replace('\u201d<', '</blockquote><')
# replace email style quote
if '>&gt; ' not in content:
return content