Skip to content

Commit e40f372

Browse files
committed
chore: tweak xmlns docs
1 parent 5a07219 commit e40f372

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

documentation/docs/02-template-syntax/09-special-elements.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ If `this` is the name of a [void element](https://developer.mozilla.org/en-US/do
6464
<svelte:element this={tag} on:click={handler}>Foo</svelte:element>
6565
```
6666

67-
Svelte tries its best to infer the correct namespace from its surroundings, but that's not always possible to analyze statically. You can give a hint by adding a `xmlns` attribute:
67+
Svelte tries its best to infer the correct namespace from the element's surroundings, but it's not always possible. You can make it explicit with an `xmlns` attribute:
6868

6969
```svelte
7070
<svelte:element this={tag} xmlns="http://www.w3.org/2000/svg" />

0 commit comments

Comments
 (0)