I have set up a Matrix field with three blocks, each contains a Table field.
Each table has one column - a single line text field.
When I call these tables into the template with this code, each row is echoed twice:
{% for block in entry.projectFacts.limit(3) %}
<div class="panel panel-default">
{% switch block.type %}
{% case 'code' %}
{% if block.codePoints | length %}
<ul>
{% for items in block.codePoints %}
/* Outputs "Array" */
{{ items }}
{% for wtf in items %}
/* Outputs identical content & wrapper twice */
<li>{{ wtf }}</li>
{% endfor %}
{% endfor %}
</ul>
{% endif %}
</div>
{% endfor %}
I'd be delighted if someone were able to point out what I need to do differently.