From 9154668bed7a0d5119bee5bd7c15c0e467f123c8 Mon Sep 17 00:00:00 2001 From: Steve Holden Date: Mon, 23 Nov 2020 19:04:31 +0000 Subject: [PATCH] Fixes: 5 Adds hyperlink processing to the textStyle handler, allowing rendering of hyperlinks embedded in body (and hopefully footnote) text. --- src/tools/walk_blog.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/tools/walk_blog.py b/src/tools/walk_blog.py index 084043a..8cffd84 100644 --- a/src/tools/walk_blog.py +++ b/src/tools/walk_blog.py @@ -185,6 +185,8 @@ def render_structuralElements(p): content = f"{content}" if "italic" in style and style.italic: content = f"{content}" + if "link" in style: + content = f"""{content}""" c_list.append(content) elif e_type == "footnoteReference": fnr = element.footnoteReference