Skip to content

build: avoid syntax errors in generated JS file#32963

Open
crisbeto wants to merge 1 commit intoangular:mainfrom
crisbeto:multiline-escaped-css
Open

build: avoid syntax errors in generated JS file#32963
crisbeto wants to merge 1 commit intoangular:mainfrom
crisbeto:multiline-escaped-css

Conversation

@crisbeto
Copy link
Member

The web_test_suite rule generates a JS file on-the-fly which inserts CSS dependencies into the current page. Currently this file uses double quotes for the string which breaks if there are new lines in the file. This is currently blocking #32961 and #32962.

These changes switch to using multi-line strings to avoid the issue.

The `web_test_suite` rule generates a JS file on-the-fly which inserts CSS dependencies into the current page. Currently this file uses double quotes for the string which breaks if there are new lines in the file. This is currently blocking angular#32961 and angular#32962.

These changes switch to using multi-line strings to avoid the issue.
@crisbeto crisbeto requested a review from devversion March 23, 2026 08:05
@crisbeto crisbeto added the target: patch This PR is targeted for the next patch release label Mar 23, 2026
@angular-robot angular-robot bot added the area: build & ci Related the build and CI infrastructure of the project label Mar 23, 2026
@crisbeto crisbeto requested a review from andrewseguin March 23, 2026 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: build & ci Related the build and CI infrastructure of the project target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant