Skip to content

Weird formatting issue when using render inside attributes in .liquid files #142

@andershagbard

Description

@andershagbard

Config:

{
  "plugins": ["@shopify/prettier-plugin-liquid", "prettier-plugin-tailwindcss"]
}

Input

<div class="block {% render 'some-snippet', settings: section.settings %}"></div>

Expected output

<div class="block {% render 'some-snippet', settings: section.settings %}"></div>

Actual output

<div class="block {% render 'some-snippet', settings: section.ssettingss "></div>

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions