Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use consistent tag closing for <svelte:*> elements #3074

Merged
merged 1 commit into from
Jun 22, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions site/content/docs/02-template-syntax.md
Original file line number Diff line number Diff line change
Expand Up @@ -1241,7 +1241,7 @@ It cannot appear at the top level of your markup; it must be inside an if or eac
### `<svelte:component>`

```sv
<svelte:component this={expression}>
<svelte:component this={expression}/>
```

---
Expand Down Expand Up @@ -1318,7 +1318,7 @@ As with `<svelte:window>`, this element allows you to add listeners to events on
### `<svelte:head>`

```sv
<svelte:head>
<svelte:head>...</svelte:head>
```

---
Expand All @@ -1335,7 +1335,7 @@ This element makes it possible to insert elements into `document.head`. During s
### `<svelte:options>`

```sv
<svelte:options option={value}>
<svelte:options option={value}/>
```

---
Expand All @@ -1351,4 +1351,4 @@ The `<svelte:options>` element provides a place to specify per-component compile

```html
<svelte:options tag="my-custom-element"/>
```
```