Skip to content

Commit

Permalink
Use consistent tag closing for <svelte:*> elements
Browse files Browse the repository at this point in the history
Fixes #3061
  • Loading branch information
mindrones authored and Conduitry committed Jun 22, 2019
1 parent a7dd227 commit 0b83687
Showing 1 changed file with 4 additions and 4 deletions.
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 @@ -1249,7 +1249,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 @@ -1326,7 +1326,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 @@ -1343,7 +1343,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 @@ -1359,4 +1359,4 @@ The `<svelte:options>` element provides a place to specify per-component compile

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

0 comments on commit 0b83687

Please sign in to comment.