--- title: LiquidHTMLSyntaxError description: Identifies Liquid syntax errors. source_url: html: >- https://shopify.dev/docs/storefronts/themes/tools/theme-check/checks/liquid-html-syntax-error md: >- https://shopify.dev/docs/storefronts/themes/tools/theme-check/checks/liquid-html-syntax-error.md --- ExpandOn this page * [Examples](https://shopify.dev/docs/storefronts/themes/tools/theme-check/checks/liquid-html-syntax-error.md#examples) * [Disabling this check](https://shopify.dev/docs/storefronts/themes/tools/theme-check/checks/liquid-html-syntax-error.md#disabling-this-check) * [Aliases](https://shopify.dev/docs/storefronts/themes/tools/theme-check/checks/liquid-html-syntax-error.md#aliases) # LiquidHTMLSyntaxError Identifies LiquidHTML syntax errors. *** ## Examples The following examples contain code snippets that either fail or pass this check. ### ✗ Fail The example below is missing a closing bracket `%}`. ```liquid unclosed {% include 'muffin' {% assign foo = 1 }} {% unknown %} {% if collection | size > 0 %} ``` ### ✓ Pass ```liquid closed {% assign foo = 1 %} {% if collection.size > 0 %}{% endif %} ``` *** ## Disabling this check Disabling this check isn't recommended. *** ## Aliases 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` *** * [Examples](https://shopify.dev/docs/storefronts/themes/tools/theme-check/checks/liquid-html-syntax-error.md#examples) * [Disabling this check](https://shopify.dev/docs/storefronts/themes/tools/theme-check/checks/liquid-html-syntax-error.md#disabling-this-check) * [Aliases](https://shopify.dev/docs/storefronts/themes/tools/theme-check/checks/liquid-html-syntax-error.md#aliases)