aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--markdown_extensions/imagelinks.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/markdown_extensions/imagelinks.py b/markdown_extensions/imagelinks.py
index 56d1cc6..ba86d24 100644
--- a/markdown_extensions/imagelinks.py
+++ b/markdown_extensions/imagelinks.py
@@ -31,7 +31,7 @@ class ImageLinksExtension (markdown.Extension):
def extendMarkdown(self, md, md_globals) :
- md.preprocessors.add("imagelink", ImageLinkPreprocessor(self), "_begin")
+ md.preprocessors.add("imagelink", ImageLinkPreprocessor(md), "_begin")
class ImageLinkPreprocessor (markdown.Preprocessor):