diff options
Diffstat (limited to '')
-rw-r--r-- | kosten/templates/macros.jinja | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kosten/templates/macros.jinja b/kosten/templates/macros.jinja index d7cd2fc..cf67bca 100644 --- a/kosten/templates/macros.jinja +++ b/kosten/templates/macros.jinja @@ -22,8 +22,8 @@ {{ caller() }} {% else %} {% set style = "" %} - {% if fgcolor: %}{% set style = style ~ " color: " ~ fgcolor %}{% endif %} - {% if bgcolor: %}{% set style = style ~ " background: " ~ bgcolor %}{% endif %} + {% if fgcolor %}{% set style = style ~ " color: " ~ fgcolor %}{% endif %} + {% if bgcolor %}{% set style = style ~ " background: " ~ bgcolor %}{% endif %} <{{tag}} style="{{style}}">{{caller()}}</{{tag}}> {% endif %} {% endmacro %} |