Let tag_object take arbitrary extra attributes.

master
voussoir 2020-09-27 12:14:33 -07:00
parent 78a3aa36a8
commit 08591a717b
1 changed files with 1 additions and 1 deletions

View File

@ -38,6 +38,6 @@
{%- set innertext = innertext or tag.name -%}
{%- set element = "a" if (link or onclick) else "span" -%}
<{{element}} {{make_attributes(class=class, title=title, href=href, onclick=onclick)|safe}}>{{innertext}}</{{element}}>
<{{element}} {{make_attributes(class=class, title=title, href=href, onclick=onclick, **kwargs)|safe}}>{{innertext}}</{{element}}>
{{-''-}}
{%- endmacro -%}