Skip to content

Shopify Liquid formatter doesn't format a HTML in a default Shopify's email template. #760

Open
@Forseti93

Description

@Forseti93

Describe the bug
I copy an email template from notifications - Edit order confirmation, into vs code. Formatting with Shopify liquid does not structure HTML, that I can work easily. In addition HTML formatter brokes the template (HTML language features formatter), so there is no way to make the layout looks readable.

Source
Copy the template from default shopify's customer notification template "Edit Order confirmation" in to VS code, try to format with Shopify Liquid.

Expected behaviour
Html becomes readable, liquid is readable also. Template's UI doesn't lose any elements

Actual behaviour
HTML isn't formatted.
Liquid is readable.
Template doesn't lose elements.

Debugging information

  • OS Mac "Sequoia 15.1.1"
  • Shopify CLI version "3.74.1"
  • Theme Check Version "unknown"
  • Shopify Liquid extension version "3.5.3"

Additional context

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions