{% if params.caption %} {% endif %} {% if params.head %} {% for item in params.head %} {% endfor %} {% endif %} {% for row in params.rows %} {% for cell in row %} {% if loop.first and params.firstCellIsHeader %} {% elseif loop.first %} {% else %} {% endif %} {% endfor %} {% endfor %}
{{ params.caption }}
{{ item.html |safe if item.html else item.text }}
{{ cell.html | safe if cell.html else cell.text }}{{ cell.html | safe if cell.html else cell.text }}{{ cell.html | safe if cell.html else cell.text }}