summaryrefslogtreecommitdiff
path: root/docs/src
diff options
context:
space:
mode:
authorGravatar Tegan Churchill <rawrmonstar@pm.me> 2021-12-13 10:35:21 -0800
committerGravatar GitHub <noreply@github.com> 2021-12-13 10:35:21 -0800
commita4322d0ae36d5e84b6861203a4cf6b5cf458c766 (patch)
treebd64690adb0473bfa56bd6ce5d246927d3a26ed4 /docs/src
parentd9e65227b2d93f31514a0f0781019187e9a31603 (diff)
downloadastro-a4322d0ae36d5e84b6861203a4cf6b5cf458c766.tar.gz
astro-a4322d0ae36d5e84b6861203a4cf6b5cf458c766.tar.zst
astro-a4322d0ae36d5e84b6861203a4cf6b5cf458c766.zip
Update astro-components.md (#2164)
* Update astro-components.md I don't get it, HTML entities are supported in JSX. * Update astro-components.md * Update astro-components.md Co-authored-by: Fred K. Schott <fkschott@gmail.com>
Diffstat (limited to 'docs/src')
-rw-r--r--docs/src/pages/core-concepts/astro-components.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/src/pages/core-concepts/astro-components.md b/docs/src/pages/core-concepts/astro-components.md
index 84715de7d..66ca91ec5 100644
--- a/docs/src/pages/core-concepts/astro-components.md
+++ b/docs/src/pages/core-concepts/astro-components.md
@@ -340,8 +340,8 @@ import TwitterTimeline from '../components/TwitterTimeline.astro';
| Fragments | Automatic top-level, `<>` inside functions | Wrap with `<Fragment>` or `<>` |
| Multiple frameworks per-file | Yes | No |
| Modifying `<head>` | Just use `<head>` | Per-framework (`<Head>`, `<svelte:head>`, etc) |
-| Comment Style | `<!-- HTML -->` | `{/* JavaScript */}` |
-| Special Characters | `&nbsp;` | `{'\xa0'}` or `{String.fromCharCode(160)}` |
+| Comment Style | `<!-- HTML -->` | `{/* JavaScript */} |
+| Special Characters | `&nbsp;` | `&nbsp;` |
| Attributes | `dash-case` | `camelCase` |
## URL resolution