Skip to content

fix(prettier-plugin-liquid): avoid duplicate tag marker - #1337

Open
efegokdemir wants to merge 1 commit into
Shopify:mainfrom
efegokdemir:efe/theme-tools-1288-extra-textarea-angle
Open

efegokdemir wants to merge 1 commit into
Shopify:mainfrom
efegokdemir:efe/theme-tools-1288-extra-textarea-angle

Conversation

@efegokdemir

Copy link
Copy Markdown

What are you adding in this PR?

Remove the redundant opening-tag prefix from the preserved-content path. printOpeningTag already emits it, so the extra call produced a second > before a textarea following an inline element.

Fixes #1288

What's next? Any followup issues?

No follow-up needed.

What did you learn?

The opening-tag helper already owns prefix emission, so the preserved-content path must not emit it separately.

Tophatting

The focused regression test and package test suite passed. No manual browser check was needed for this printer output fix.

Before you deploy

  • This PR includes a patch bump changeset

@efegokdemir
efegokdemir requested a review from a team as a code owner October 9, 2026 22:58

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

inserts extra ">" if: <label>text</label><textarea></textarea>

1 participant