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):