chiark / gitweb /
m.htmlsanity: we're replacing builtin SmartQuotes.
authorVladimír Vondruš <mosra@centrum.cz>
Mon, 11 Sep 2017 15:13:25 +0000 (17:13 +0200)
committerVladimír Vondruš <mosra@centrum.cz>
Thu, 14 Sep 2017 22:11:11 +0000 (00:11 +0200)
No need to mess w/ priority.

pelican-plugins/m/htmlsanity.py

index 5eabf892afee2d73323e43e2cab4741635f74968..172df56434f8a33ee4c8e855132c8db3ded68398 100644 (file)
@@ -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