{% for row in table.rows %} {% for cell in row.cols %} {% if cell.safe %} {{ cell.value|safe }} {% else %} {{ cell.value }} {% endif %} {% endfor %} {% endfor %}