~netlandish/django-wiki

ab8a336d0b12e4e1278b4be416bb952a05aed5e7 — Mads Jensen 6 years ago 4e82588
Replaced markdown.Markdown.__init__ with super().__init__.
2 files changed, 2 insertions(+), 2 deletions(-)

M src/wiki/core/markdown/__init__.py
M src/wiki/plugins/links/mdx/djangowikilinks.py
M src/wiki/core/markdown/__init__.py => src/wiki/core/markdown/__init__.py +1 -1
@@ 12,7 12,7 @@ class ArticleMarkdown(markdown.Markdown):
    def __init__(self, article, preview=False, user=None, *args, **kwargs):
        kwargs.update(settings.MARKDOWN_KWARGS)
        kwargs['extensions'] = self.get_markdown_extensions()
        markdown.Markdown.__init__(self, *args, **kwargs)
        super().__init__(*args, **kwargs)
        self.article = article
        self.preview = preview
        self.user = user

M src/wiki/plugins/links/mdx/djangowikilinks.py => src/wiki/plugins/links/mdx/djangowikilinks.py +1 -1
@@ 58,7 58,7 @@ class WikiPathExtension(markdown.Extension):
class WikiPath(markdown.inlinepatterns.Pattern):

    def __init__(self, pattern, config, **kwargs):
        markdown.inlinepatterns.Pattern.__init__(self, pattern, **kwargs)
        super().__init__(pattern, **kwargs)
        self.config = config

    def handleMatch(self, m):