prettier-plugin-liquid
prettier-plugin-liquid copied to clipboard
LiquidTag in attribute name not throwing an error.
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