From fae4899a2cd1427e1563a1d979d81e934d2bc774 Mon Sep 17 00:00:00 2001 From: Akhilesh Rawat Date: Wed, 9 Oct 2024 15:49:16 +0530 Subject: [PATCH] Update v-html@bZxtIBeIfeUcR32LZWrPW.md - v-html,HTML typo fix (#7394) Fixed typos "v-thml" and "HTMl" to "v-html" and "HTML" respectively. --- src/data/roadmaps/vue/content/v-html@bZxtIBeIfeUcR32LZWrPW.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/data/roadmaps/vue/content/v-html@bZxtIBeIfeUcR32LZWrPW.md b/src/data/roadmaps/vue/content/v-html@bZxtIBeIfeUcR32LZWrPW.md index 87a9a351b..5a70b7eae 100644 --- a/src/data/roadmaps/vue/content/v-html@bZxtIBeIfeUcR32LZWrPW.md +++ b/src/data/roadmaps/vue/content/v-html@bZxtIBeIfeUcR32LZWrPW.md @@ -1,6 +1,6 @@ # v-html -The `v-thml` directive is similar to the `v-text` directive, but the difference is that `v-html` renders its content as HTML. This means that if you pass an HTML element it will be rendered as an element and not plain text. Since the content is render as HTMl, it can pose a security risk if the content contains malicius JavaScript code. For this reason you should never use this directive in combination with user input, unless the input is first properly sanitized. +The `v-html` directive is similar to the `v-text` directive, but the difference is that `v-html` renders its content as HTML. This means that if you pass an HTML element it will be rendered as an element and not plain text. Since the content is render as HTML, it can pose a security risk if the content contains malicius JavaScript code. For this reason you should never use this directive in combination with user input, unless the input is first properly sanitized. Example: ```vue