From 41abdd64ba57b83807f590e414e876f1b5c29c47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Marche?= <35939574+Marr11317@users.noreply.github.com> Date: Sat, 12 Feb 2022 01:27:00 -0500 Subject: [PATCH] Move @html tutorial to end --- .../{07-making-an-app => 06-making-an-app}/app-a/App.svelte | 0 .../{07-making-an-app => 06-making-an-app}/text.md | 0 .../01-html-tags}/app-a/App.svelte | 0 .../01-html-tags}/app-b/App.svelte | 0 .../06-html-tags => 19-html-tags/01-html-tags}/text.md | 2 +- site/content/tutorial/19-html-tags/meta.json | 3 +++ .../01-congratulations/app-a/App.svelte | 0 .../01-congratulations/text.md | 0 .../tutorial/{19-next-steps => 20-next-steps}/meta.json | 0 9 files changed, 4 insertions(+), 1 deletion(-) rename site/content/tutorial/01-introduction/{07-making-an-app => 06-making-an-app}/app-a/App.svelte (100%) rename site/content/tutorial/01-introduction/{07-making-an-app => 06-making-an-app}/text.md (100%) rename site/content/tutorial/{01-introduction/06-html-tags => 19-html-tags/01-html-tags}/app-a/App.svelte (100%) rename site/content/tutorial/{01-introduction/06-html-tags => 19-html-tags/01-html-tags}/app-b/App.svelte (100%) rename site/content/tutorial/{01-introduction/06-html-tags => 19-html-tags/01-html-tags}/text.md (57%) create mode 100644 site/content/tutorial/19-html-tags/meta.json rename site/content/tutorial/{19-next-steps => 20-next-steps}/01-congratulations/app-a/App.svelte (100%) rename site/content/tutorial/{19-next-steps => 20-next-steps}/01-congratulations/text.md (100%) rename site/content/tutorial/{19-next-steps => 20-next-steps}/meta.json (100%) diff --git a/site/content/tutorial/01-introduction/07-making-an-app/app-a/App.svelte b/site/content/tutorial/01-introduction/06-making-an-app/app-a/App.svelte similarity index 100% rename from site/content/tutorial/01-introduction/07-making-an-app/app-a/App.svelte rename to site/content/tutorial/01-introduction/06-making-an-app/app-a/App.svelte diff --git a/site/content/tutorial/01-introduction/07-making-an-app/text.md b/site/content/tutorial/01-introduction/06-making-an-app/text.md similarity index 100% rename from site/content/tutorial/01-introduction/07-making-an-app/text.md rename to site/content/tutorial/01-introduction/06-making-an-app/text.md diff --git a/site/content/tutorial/01-introduction/06-html-tags/app-a/App.svelte b/site/content/tutorial/19-html-tags/01-html-tags/app-a/App.svelte similarity index 100% rename from site/content/tutorial/01-introduction/06-html-tags/app-a/App.svelte rename to site/content/tutorial/19-html-tags/01-html-tags/app-a/App.svelte diff --git a/site/content/tutorial/01-introduction/06-html-tags/app-b/App.svelte b/site/content/tutorial/19-html-tags/01-html-tags/app-b/App.svelte similarity index 100% rename from site/content/tutorial/01-introduction/06-html-tags/app-b/App.svelte rename to site/content/tutorial/19-html-tags/01-html-tags/app-b/App.svelte diff --git a/site/content/tutorial/01-introduction/06-html-tags/text.md b/site/content/tutorial/19-html-tags/01-html-tags/text.md similarity index 57% rename from site/content/tutorial/01-introduction/06-html-tags/text.md rename to site/content/tutorial/19-html-tags/01-html-tags/text.md index ff547247e2..0da4708020 100644 --- a/site/content/tutorial/01-introduction/06-html-tags/text.md +++ b/site/content/tutorial/19-html-tags/01-html-tags/text.md @@ -12,4 +12,4 @@ In Svelte, you do this with the special `{@html ...}` tag:

{@html string}

``` -> 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. +> **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. diff --git a/site/content/tutorial/19-html-tags/meta.json b/site/content/tutorial/19-html-tags/meta.json new file mode 100644 index 0000000000..04968c43aa --- /dev/null +++ b/site/content/tutorial/19-html-tags/meta.json @@ -0,0 +1,3 @@ +{ + "title": "HTML tags" +} diff --git a/site/content/tutorial/19-next-steps/01-congratulations/app-a/App.svelte b/site/content/tutorial/20-next-steps/01-congratulations/app-a/App.svelte similarity index 100% rename from site/content/tutorial/19-next-steps/01-congratulations/app-a/App.svelte rename to site/content/tutorial/20-next-steps/01-congratulations/app-a/App.svelte diff --git a/site/content/tutorial/19-next-steps/01-congratulations/text.md b/site/content/tutorial/20-next-steps/01-congratulations/text.md similarity index 100% rename from site/content/tutorial/19-next-steps/01-congratulations/text.md rename to site/content/tutorial/20-next-steps/01-congratulations/text.md diff --git a/site/content/tutorial/19-next-steps/meta.json b/site/content/tutorial/20-next-steps/meta.json similarity index 100% rename from site/content/tutorial/19-next-steps/meta.json rename to site/content/tutorial/20-next-steps/meta.json