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

fix(parser/html): misc minor parsing fixes #4852

Merged
merged 1 commit into from
Jan 8, 2025
Merged

Conversation

dyc3
Copy link
Contributor

@dyc3 dyc3 commented Jan 7, 2025

Summary

This PR contains some parsing fixes aimed at improving the number of prettier tests that parse successfully. It also has some improvements to emitted diagnostics, and some minor refactors.

Test Plan

Added some test cases.

@github-actions github-actions bot added A-Parser Area: parser A-Formatter Area: formatter L-HTML Language: HTML labels Jan 7, 2025
Copy link

codspeed-hq bot commented Jan 7, 2025

CodSpeed Performance Report

Merging #4852 will not alter performance

Comparing html-misc-minor-fixes (373a8a1) with next (bb065c4)

Summary

✅ 95 untouched benchmarks

@dyc3 dyc3 force-pushed the html-misc-minor-fixes branch 2 times, most recently from f706eed to 0566679 Compare January 7, 2025 17:00
crates/biome_html_parser/src/syntax/mod.rs Outdated Show resolved Hide resolved
crates/biome_html_parser/src/syntax/mod.rs Outdated Show resolved Hide resolved
crates/biome_html_parser/src/syntax/mod.rs Outdated Show resolved Hide resolved
@dyc3 dyc3 force-pushed the html-misc-minor-fixes branch from 0566679 to 373a8a1 Compare January 8, 2025 15:04
@dyc3 dyc3 requested a review from ematipico January 8, 2025 15:04
Copy link
Member

@ematipico ematipico left a comment

Choose a reason for hiding this comment

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

Great fixes!

@dyc3 dyc3 merged commit ec02891 into next Jan 8, 2025
12 checks passed
@dyc3 dyc3 deleted the html-misc-minor-fixes branch January 8, 2025 16:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Formatter Area: formatter A-Parser Area: parser L-HTML Language: HTML
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants