Skip to content

Fix HTML format that tag name is an object prototype property#17501

Merged
fisker merged 3 commits intoprettier:mainfrom
fisker:object-prototype-names
Jun 2, 2025
Merged

Fix HTML format that tag name is an object prototype property#17501
fisker merged 3 commits intoprettier:mainfrom
fisker:object-prototype-names

Conversation

@fisker
Copy link
Copy Markdown
Member

@fisker fisker commented May 22, 2025

Description

Fixes #15511

Checklist

  • I’ve added tests to confirm my change works.
  • (If changing the API or CLI) I’ve documented the changes I’ve made (in the docs/ directory).
  • (If the change is user-facing) I’ve added my changes to changelog_unreleased/*/XXXX.md file following changelog_unreleased/TEMPLATE.md.
  • I’ve read the contributing guidelines.

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new bot commented May 22, 2025

Open in StackBlitz

npm i https://pkg.pr.new/prettier@17501

commit: 619fd7a

@netlify
Copy link
Copy Markdown

netlify bot commented May 22, 2025

Deploy Preview for prettier ready!

Name Link
🔨 Latest commit 619fd7a
🔍 Latest deploy log https://app.netlify.com/projects/prettier/deploys/682f406ce9d95d0008f9277f
😎 Deploy Preview https://deploy-preview-17501--prettier.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@fisker fisker marked this pull request as ready for review May 22, 2025 15:11
Copy link
Copy Markdown
Contributor

@sosukesuzuki sosukesuzuki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I forgot this bug, thank you

@fisker fisker merged commit 2763319 into prettier:main Jun 2, 2025
33 checks passed
@fisker fisker deleted the object-prototype-names branch June 2, 2025 14:56
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.

TypeError in HTML parser when parsing a custom element followed by a prototype

2 participants