LiquidTag in attribute name not throwing an error.
charlespwd opened this issue · 0 comments
charlespwd commented
Input:
<a data-{%if condition%}enabled{%else%}disabled{%endif%}></a>
<a data-{%case number%}{%when 1%}enabled{%else%}disabled{%endcase%}></a>
Actual Output:
<a
data-
{% if condition %}
enabled
{% else %}
disabled
{% endif %}
></a>
<a
data-
{% case number %}
{% when 1 %}
enabled
{% else %}
disabled
{% endcase %}
></a>
Expected
Throw LiquidHTMLError