LiquidHTMLSyntaxError
Identifies LiquidHTML syntax errors.
Anchor to ExamplesExamples
The following examples contain code snippets that either fail or pass this check.
Anchor to ✗ Fail✗ Fail
The example below is missing a closing bracket %}
.
<a>unclosed
{% include 'muffin'
{% assign foo = 1 }}
{% unknown %}
{% if collection | size > 0 %}
Anchor to ✓ Pass✓ Pass
<a>closed</a>
<Partial filePath="muffin" />
{% assign foo = 1 %}
{% if collection.size > 0 %}{% endif %}
Anchor to Disabling this checkDisabling this check
Disabling this check isn't recommended.
Anchor to AliasesAliases
For backward compatibility with configuration files made for Theme Check v1.X.X
, this check is also recognized in configuration files with the following names:
HtmlParsingError
SyntaxError
Was this page helpful?