Skip to content

Liquid in HTML comment is ignored for UnknownObject purposes #1099

Description

@charlespwd

Describe the bug
https://community.shopify.dev/t/shopify-theme-check-ignores-liquid-within-html-comments/28183

Source

<!-- {% assign foo = 10 %} -->
{{ foo }}

Expected behaviour
No issue

Actual behaviour
Apparently this triggers a theme check UnknownObject error

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions