mirror of https://gitlab.com/bashrc2/epicyon
Indentation
parent
26c490757d
commit
37e188b0a3
|
@ -69,8 +69,8 @@ def htmlReplaceEmailQuote(content: str) -> str:
|
||||||
if '>\u201c' in content:
|
if '>\u201c' in content:
|
||||||
if '\u201d<' in content:
|
if '\u201d<' in content:
|
||||||
if content.count('>\u201c') == content.count('\u201d<'):
|
if content.count('>\u201c') == content.count('\u201d<'):
|
||||||
content = content.replace('>\u201c', '><blockquote>')
|
content = content.replace('>\u201c', '><blockquote>')
|
||||||
content = content.replace('\u201d<', '</blockquote><')
|
content = content.replace('\u201d<', '</blockquote><')
|
||||||
# replace email style quote
|
# replace email style quote
|
||||||
if '>> ' not in content:
|
if '>> ' not in content:
|
||||||
return content
|
return content
|
||||||
|
|
Loading…
Reference in New Issue