Skip to content

Conversation

@fisker
Copy link
Member

@fisker fisker commented Mar 22, 2023

Description

vue parser should be able to parse normal htmls.

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.

Try the playground for this PR

@fisker fisker marked this pull request as draft March 22, 2023 10:43
@fisker
Copy link
Member Author

fisker commented Mar 22, 2023

Something wrong.

@fisker
Copy link
Member Author

fisker commented Mar 22, 2023

Problem is we checked if (rootNodes.some(shouldParseAsHTML)) { but not checking void element.

@fisker fisker requested a review from sosukesuzuki March 22, 2023 11:50
@fisker fisker marked this pull request as ready for review March 22, 2023 12:01
@fisker fisker merged commit 94660f6 into prettier:next Mar 24, 2023
@fisker fisker deleted the vue-void-element branch March 24, 2023 06:51
Copy link
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.

Sorry for delay review, LGTM

medikoo pushed a commit to medikoo/prettier-elastic that referenced this pull request Feb 13, 2024
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.

2 participants