From 2cd32bed69784c4991123d5bb4d1cd96b0080532 Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Wed, 10 Jun 2020 18:25:59 -0700 Subject: [PATCH] Add another smart quote to be replaced with apostrophe. --- cleanerupper/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cleanerupper/plugin.py b/cleanerupper/plugin.py index 0a0fb49..02a4d49 100644 --- a/cleanerupper/plugin.py +++ b/cleanerupper/plugin.py @@ -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