~netlandish/django-wiki

d3f43422735535b24c831b1d97a731e656062afb — Benjamin Bach 4 years ago db82968
Fix one of the many markdown DeprecationWarnings
1 files changed, 1 insertions(+), 1 deletions(-)

M src/wiki/core/markdown/mdx/previewlinks.py
M src/wiki/core/markdown/mdx/previewlinks.py => src/wiki/core/markdown/mdx/previewlinks.py +1 -1
@@ 13,7 13,7 @@ class PreviewLinksExtension(markdown.Extension):
class PreviewLinksTree(Treeprocessor):

    def run(self, root):
        if self.markdown.preview:
        if self.md.preview:
            for a in root.findall('.//a'):
                # Do not set target for links like href='#markdown'
                if not a.get('href').startswith('#'):