Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

📝 Multiple elements at the root level don't get parsed or formatted correctly #3976

Open
1 task done
dyc3 opened this issue Sep 18, 2024 · 2 comments · May be fixed by #3985
Open
1 task done

📝 Multiple elements at the root level don't get parsed or formatted correctly #3976

dyc3 opened this issue Sep 18, 2024 · 2 comments · May be fixed by #3985
Labels
A-Formatter Area: formatter good first issue Good for newcomers L-HTML Language: HTML S-Bug-confirmed Status: report has been confirmed as a valid bug

Comments

@dyc3
Copy link
Contributor

dyc3 commented Sep 18, 2024

Environment information

playground

Configuration

No response

Playground link

https://biomejs.dev/playground?files.main.html=PABkAGkAdgA%2BADwALwBkAGkAdgA%2BAAoAPABkAGkAdgA%2BADwALwBkAGkAdgA%2BAAoA

Code of Conduct

  • I agree to follow Biome's Code of Conduct
@dyc3 dyc3 added good first issue Good for newcomers A-Formatter Area: formatter S-Bug-confirmed Status: report has been confirmed as a valid bug L-HTML Language: HTML labels Sep 18, 2024
@dyc3
Copy link
Contributor Author

dyc3 commented Sep 18, 2024

This is probably a very simple fix. The root node in the grammar should be changed from AnyHtmlElement to HtmlElementList.

@suxin2017 suxin2017 linked a pull request Sep 19, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Formatter Area: formatter good first issue Good for newcomers L-HTML Language: HTML S-Bug-confirmed Status: report has been confirmed as a valid bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant