fix(editor): Replace v-html with custom directive to sanitize html (#10804)

Co-authored-by: Tomi Turtiainen <10324676+tomi@users.noreply.github.com>
This commit is contained in:
Csaba Tuncsik
2024-09-18 08:49:41 +02:00
committed by GitHub
parent 989f69d1f4
commit 44e5fb9b06
49 changed files with 379 additions and 130 deletions

View File

@@ -1391,7 +1391,7 @@ onUpdated(async () => {
<div
v-if="option.description"
class="option-description"
v-html="getOptionsOptionDescription(option)"
v-n8n-html="getOptionsOptionDescription(option)"
></div>
</div>
</n8n-option>
@@ -1424,7 +1424,7 @@ onUpdated(async () => {
<div
v-if="option.description"
class="option-description"
v-html="getOptionsOptionDescription(option)"
v-n8n-html="getOptionsOptionDescription(option)"
></div>
</div>
</n8n-option>