diff --git a/src/content/docs/en/guides/upgrade-to/v7.mdx b/src/content/docs/en/guides/upgrade-to/v7.mdx
index d7881079b4962..26d4063bf29de 100644
--- a/src/content/docs/en/guides/upgrade-to/v7.mdx
+++ b/src/content/docs/en/guides/upgrade-to/v7.mdx
@@ -284,7 +284,7 @@ If you notice that some spaces are missing, identify the components and pages wh
```astro title="src/components/Example.astro" del={1-2} ins={3}
hello
world
-hello world
+hello{" "}world
```
If you prefer to keep the previous behavior, set `compressHTML` to `true`. You can also use `compressHTML: false` to preserve all whitespace.