Commit 8aa69352 authored by Alexandre Leray's avatar Alexandre Leray
Browse files

Fixed markdown semantic wikilinks callback

The last version of the markdown plugin defines an extra parameter which
is the current markdown instance. See:

- <;a=tree> or
- <>
parent 7e73e3f6
......@@ -20,7 +20,7 @@ from aawiki.utils import url_for_pagename
import urlparse
def aa_make_link(rel, target, label):
def aa_make_link(md, rel, target, label):
a = etree.Element('a')
# FIXME: This was added to give anchor support within a wiki page.
......@@ -58,7 +58,7 @@ def aa_make_link(rel, target, label):
return a
def aa_make_elt (rel, target, label):
def aa_make_elt (md, rel, target, label):
if rel == "dc:title":
elt = markdown.util.etree.Element('cite')
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment