Space in variables pair leads to error
marcorieser opened this issue · comments
In the following antlers snippet the formatter in v.0.0.5 changes {{ /cells }}
to {{ / cells }}
which throws a parsing error (runtime parser):
<tr>
{{ cells }}
{{ if first && first_column_headers }}
<th class="border-b border-black bg-black px-3 py-3 text-left font-anton uppercase tracking-wider text-white xl:px-6">
{{ value }}
</th>
{{ else }}
<td class="border-b border-black px-3 py-3 text-black xl:px-6">{{ value }}</td>
{{ /if }}
{{ /cells }}
</tr>
Error: [ANTLR_131]: Unpaired closing tag.