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