From 1d1269e8a1148d5f462c50f642aaad9b362ee34e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Wed, 18 Oct 2017 14:51:49 +0200 Subject: [PATCH] plugins: make the expand_links Jinja filter actually working. --- pelican-plugins/m/htmlsanity.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2