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): fix incorrect parsing when text starts with a quote #4011

Conversation

dyc3
Copy link
Contributor

@dyc3 dyc3 commented Sep 20, 2024

Summary

This fixes a particular case involving quotes where the parser wasn't switching lex contexts correctly.

Test Plan

Added a test, and updated snapshots.

@github-actions github-actions bot added A-Parser Area: parser L-HTML Language: HTML labels Sep 20, 2024
Copy link

codspeed-hq bot commented Sep 20, 2024

CodSpeed Performance Report

Merging #4011 will not alter performance

Comparing 09-20-fix_parser_html_fix_incorrect_lexing_when_text_starts_with_a_quote (b7a77c2) with main (d137533)

Summary

✅ 107 untouched benchmarks

@dyc3 dyc3 merged commit 1a87927 into main Sep 20, 2024
15 checks passed
@dyc3 dyc3 deleted the 09-20-fix_parser_html_fix_incorrect_lexing_when_text_starts_with_a_quote branch September 20, 2024 13:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Parser Area: parser L-HTML Language: HTML
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant