Add another smart quote to be replaced with apostrophe.

master
Ethan Dalool 2020-06-10 18:25:59 -07:00
parent aa19d49ffc
commit 2cd32bed69
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ def remove_space_around_br(html):
@html_cleaner
def replace_smart_quotes(html):
html = re.sub(r'”|“', '"', html)
html = re.sub(r'||ʹ', "'", html)
html = re.sub(r'||ʹ|`', "'", html)
return html
@html_cleaner