Add another smart quote to be replaced with apostrophe.

This commit is contained in:
Ethan Dalool 2020-06-10 18:25:59 -07:00
parent aa19d49ffc
commit 2cd32bed69

View file

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