From: Vladimír Vondruš Date: Wed, 18 Oct 2017 12:51:49 +0000 (+0200) Subject: plugins: make the expand_links Jinja filter actually working. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~cjwatson/git?a=commitdiff_plain;h=1d1269e8a1148d5f462c50f642aaad9b362ee34e;p=blog.git plugins: make the expand_links Jinja filter actually working. --- diff --git a/pelican-plugins/m/htmlsanity.py b/pelican-plugins/m/htmlsanity.py index fbfd3c9b..c9003587 100644 --- 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