Skip to content

Conversation

@overlookmotel
Copy link
Member

@overlookmotel overlookmotel commented Apr 9, 2025

Partial fix for #10334. Only handles escaping </script in strings. Does not handle template literals, regexs, or comments.

@github-actions github-actions bot added the A-codegen Area - Code Generation label Apr 9, 2025
Copy link
Member Author


How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • 0-merge - adds this PR to the back of the merge queue
  • hotfix - for urgent hot fixes, skip the queue and merge this PR next

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@github-actions github-actions bot added the C-bug Category - Bug label Apr 9, 2025
@codspeed-hq
Copy link

codspeed-hq bot commented Apr 9, 2025

CodSpeed Instrumentation Performance Report

Merging #10340 will not alter performance

Comparing 04-09-fix_codegen_escape__script_ (a36061e) with main (0370363)

Summary

✅ 36 untouched benchmarks

@overlookmotel overlookmotel force-pushed the 04-09-fix_codegen_escape__script_ branch from b52ac61 to a36061e Compare April 9, 2025 18:11
overlookmotel added a commit that referenced this pull request Jul 2, 2025
Fixes #10334.

Replace #10340 to cover the escape for both template literals and comments. We don’t need to handle regex, which is already covered by existing codegen.

Please let me know anything needed to merge this PR. Thanks.

---------

Co-authored-by: overlookmotel <theoverlookmotel@gmail.com>
@overlookmotel
Copy link
Member Author

Superceded by #11782.

@overlookmotel overlookmotel deleted the 04-09-fix_codegen_escape__script_ branch July 2, 2025 17:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-codegen Area - Code Generation C-bug Category - Bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants