chiark
/
gitweb
/
~cjwatson
/
blog.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
240ed7c
)
m.htmlsanity: we're replacing builtin SmartQuotes.
author
Vladimír Vondruš
<mosra@centrum.cz>
Mon, 11 Sep 2017 15:13:25 +0000
(17:13 +0200)
committer
Vladimí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
patch
|
blob
|
history
diff --git
a/pelican-plugins/m/htmlsanity.py
b/pelican-plugins/m/htmlsanity.py
index 5eabf892afee2d73323e43e2cab4741635f74968..172df56434f8a33ee4c8e855132c8db3ded68398 100644
(file)
--- 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