I'm writing a Jinja macro to render some form data in a template, but for some reason the form data renders as escaped text instead of html! Here is my macro, with the first row of the form called:
{% macro formrow(field) %}
<tr>
<td>form.{{ field }}.label|safe</td>
<td>form.{{ field }}|safe</td>
<td>form.{{ field }}.help_text|safe</td>
<td>form.{{ field }}.errors|safe</td>
</tr>
{% endmacro %}
{{ formrow('item_name') }}
Ideas? What am I missing?