Render tokens of item-list tags.

This commit is contained in:
Sergio Martínez Portela 2022-08-27 13:32:40 +02:00
parent 08a4dc295e
commit 74493fa79d

View File

@ -278,7 +278,7 @@ def render_list_item(element, acc):
acc.append("<li>") acc.append("<li>")
if element.tag is not None: if element.tag is not None:
acc.append("<span class='tag'>") acc.append("<span class='tag'>")
acc.append(html.escape(element.tag)) render_text_tokens(element.tag, acc)
acc.append("</span>") acc.append("</span>")
acc.append("<span class='item'>") acc.append("<span class='item'>")