Skip to content

Commit 57d869d

Browse files
ecstremadummdidumm
andauthored
[docs] move @html tutorial to end (partly fixing #7253) (#7254)
* Move @html tutorial to end * move debug and html tag into one section * rename --------- Co-authored-by: Rémi Marche <[email protected]> Co-authored-by: Simon H <[email protected]> Co-authored-by: Simon Holthausen <[email protected]>
1 parent 87424b3 commit 57d869d

File tree

10 files changed

+4
-4
lines changed

10 files changed

+4
-4
lines changed

site/content/tutorial/18-debugging/meta.json

Lines changed: 0 additions & 3 deletions
This file was deleted.

site/content/tutorial/01-introduction/06-html-tags/text.md renamed to site/content/tutorial/18-special-tags/02-html-tags/text.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ In Svelte, you do this with the special `{@html ...}` tag:
1212
<p>{@html string}</p>
1313
```
1414

15-
> Svelte doesn't perform any sanitization of the expression inside `{@html ...}` before it gets inserted into the DOM. In other words, if you use this feature it's critical that you manually escape HTML that comes from sources you don't trust, otherwise you risk exposing your users to XSS attacks.
15+
> **Warning!** Svelte doesn't perform any sanitization of the expression inside `{@html ...}` before it gets inserted into the DOM. In other words, if you use this feature it's **critical** that you manually escape HTML that comes from sources you don't trust, otherwise you risk exposing your users to XSS attacks.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"title": "Special tags"
3+
}

0 commit comments

Comments
 (0)