-<table class='simplelist {%if need_datatables %}need-datatables{% endif %}'>
+<table class='simplelist{%if with_datatables %} with-datatables{% endif %}'>
{% if header %}
<thead><tr><th>{{ header }}</th></tr></thead>
{% endif %}
<tbody>
{% for item in list %}
-<tr><td>{{ item }}</td></tr>
+<tr><td>{{ item|safe }}</td></tr>
{% endfor %}
</tbody>
</table>