From 55874d6851c639a007787257e59f6c5a0a67fdb2 Mon Sep 17 00:00:00 2001 From: Peter Sanchez Date: Wed, 1 Mar 2023 16:55:35 -0600 Subject: [PATCH] More fixes --- src/wiki/plugins/links/mdx/urlize.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wiki/plugins/links/mdx/urlize.py b/src/wiki/plugins/links/mdx/urlize.py index b6b50022..c0029450 100644 --- a/src/wiki/plugins/links/mdx/urlize.py +++ b/src/wiki/plugins/links/mdx/urlize.py @@ -146,7 +146,7 @@ class UrlizePattern(markdown.inlinepatterns.Pattern): span_text.text = markdown.util.AtomicString(" " + text) # Set-up link itself. - el = markdown.util.etree.Element("a") + el = etree.Element("a") el.set("href", url) el.set("target", "_blank") el.set("rel", "nofollow") -- 2.45.2