Conversation
🦋 Changeset detectedLatest commit: 997299f The changes in this PR will be included in the next version bump. This PR includes changesets to release 14 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Merging this PR will not alter performance
Performance Changes
Comparing Footnotes
|
WalkthroughThis PR fixes HTML formatter whitespace handling for block-like elements. The changes enhance the formatting logic in Possibly related PRs
Suggested reviewers
🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
Comment |
Summary
This fixes formatting for the following snippet:
Admittedly, it's not an ideal fix. The ideal fix would involve treating
display: noneas externally whitespace sensitive.fixes #4927
fixes #6407
Test Plan
Improved prettier snapshots
Added some of our own snapshot tests
Docs