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:
2b0b20c
)
plugins: make the expand_links Jinja filter actually working.
author
Vladimír Vondruš
<mosra@centrum.cz>
Wed, 18 Oct 2017 12:51:49 +0000
(14:51 +0200)
committer
Vladimír Vondruš
<mosra@centrum.cz>
Sun, 22 Oct 2017 13:35:13 +0000
(15:35 +0200)
pelican-plugins/m/htmlsanity.py
patch
|
blob
|
history
diff --git
a/pelican-plugins/m/htmlsanity.py
b/pelican-plugins/m/htmlsanity.py
index fbfd3c9b4544025d311897b81f0d05dfd7fd3510..c9003587baa697627cd71cb2642acbe5204fe765 100644
(file)
--- a/
pelican-plugins/m/htmlsanity.py
+++ b/
pelican-plugins/m/htmlsanity.py
@@
-526,7
+526,7
@@
def expand_link(link, content):
link)
def expand_links(text, content):
- return content._update_content(
content,
text, content.get_siteurl())
+ return content._update_content(text, content.get_siteurl())
def configure_pelican(pelicanobj):
pelicanobj.settings['JINJA_FILTERS']['render_rst'] = render_rst