~netlandish/django-wiki

d9d19f0d1f72b2d981004f6492ab213a5e2b1a06 — benjaoming 11 years ago f9a46f1
fix python 2.5 unknown elementree method
1 files changed, 2 insertions(+), 1 deletions(-)

M wiki/plugins/links/mdx/urlize.py
M wiki/plugins/links/mdx/urlize.py => wiki/plugins/links/mdx/urlize.py +2 -1
@@ 74,7 74,8 @@ class UrlizePattern(markdown.inlinepatterns.Pattern):
        el = markdown.util.etree.Element("a")
        el.set('href', url)
        el.set('target', '_blank')
        el.extend([icon, span_text])
        el.append(icon)
        el.append(span_text)
        return el

class UrlizeExtension(markdown.Extension):