From: Vladimír Vondruš Date: Mon, 11 Sep 2017 15:13:25 +0000 (+0200) Subject: m.htmlsanity: we're replacing builtin SmartQuotes. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~cjwatson/git?a=commitdiff_plain;h=ce9aa5594489925e78485cacbd17a0f42c4062d4;p=blog.git m.htmlsanity: we're replacing builtin SmartQuotes. No need to mess w/ priority. --- diff --git a/pelican-plugins/m/htmlsanity.py b/pelican-plugins/m/htmlsanity.py index 5eabf892..172df564 100644 --- a/pelican-plugins/m/htmlsanity.py +++ b/pelican-plugins/m/htmlsanity.py @@ -34,10 +34,6 @@ class SmartQuotes(docutils.transforms.universal.SmartQuotes): implementation is not executed. """ - # Original SmartQuotes have priority 850, we are patching them so we need - # a lower number - default_priority = 849 - def apply(self): # We are using our own config variable instead of # self.document.settings.smart_quotes in order to avoid the builtin