chiark / gitweb /
plugins: make the expand_links Jinja filter actually working.
authorVladimír Vondruš <mosra@centrum.cz>
Wed, 18 Oct 2017 12:51:49 +0000 (14:51 +0200)
committerVladimír Vondruš <mosra@centrum.cz>
Sun, 22 Oct 2017 13:35:13 +0000 (15:35 +0200)
pelican-plugins/m/htmlsanity.py

index fbfd3c9b4544025d311897b81f0d05dfd7fd3510..c9003587baa697627cd71cb2642acbe5204fe765 100644 (file)
@@ -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