From 5577d60b9b61ba3319cf1b5b5ee40bf205e0185e Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Tue, 9 Jul 2024 16:46:20 -0400 Subject: [PATCH] tweak wording --- .../src/routes/docs/content/03-appendix/02-breaking-changes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sites/svelte-5-preview/src/routes/docs/content/03-appendix/02-breaking-changes.md b/sites/svelte-5-preview/src/routes/docs/content/03-appendix/02-breaking-changes.md index f4fc0d35ae..894ed994a5 100644 --- a/sites/svelte-5-preview/src/routes/docs/content/03-appendix/02-breaking-changes.md +++ b/sites/svelte-5-preview/src/routes/docs/content/03-appendix/02-breaking-changes.md @@ -219,7 +219,7 @@ css = css.replace(/:where\((.+?)\)/, '$1'); ### CSS no longer returned from server render by default -In Svelte 4, rendering a component to a string also returned the CSS of all components. In Svelte 5, this is no longer the case by default because most of the time you're using a tooling chain that takes care of it in other ways (like SvelteKit). If you need the CSS string returned from `render`, you can enable it by setting the `css` compiler option to `'injected'`. +In Svelte 4, rendering a component to a string also returned the CSS of all components. In Svelte 5, this is no longer the case by default because most of the time you're using a tooling chain that takes care of it in other ways (like SvelteKit). If you need CSS to be returned from `render`, you can set the `css` compiler option to `'injected'` and it will add `