Add another smart quote to be replaced with apostrophe.
This commit is contained in:
parent
aa19d49ffc
commit
2cd32bed69
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue