diff --git a/content.py b/content.py index 5f74c6f4..2fc75471 100644 --- a/content.py +++ b/content.py @@ -22,6 +22,10 @@ def htmlReplaceEmailQuote(content: str) -> str: if '"
' in content: content = content.replace('"', '
') content = content.replace('"', '') + if '>\u201c' in content: + if '\u201d<' in content: + content = content.replace('>\u201c', '>
') + content = content.replace('\u201d<', '<') # replace email style quote if '>> ' not in content: return content