mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
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:
@@ -1350,7 +1350,7 @@ export default defineComponent({
|
||||
:class="$style.hintCallout"
|
||||
:theme="hint.type || 'info'"
|
||||
>
|
||||
<n8n-text size="small" v-html="hint.message"></n8n-text>
|
||||
<n8n-text size="small" v-n8n-html="hint.message"></n8n-text>
|
||||
</n8n-callout>
|
||||
|
||||
<div
|
||||
@@ -1509,7 +1509,7 @@ export default defineComponent({
|
||||
<n8n-text :bold="true" color="text-dark" size="large">{{ tooMuchDataTitle }}</n8n-text>
|
||||
<n8n-text align="center" tag="div"
|
||||
><span
|
||||
v-html="
|
||||
v-n8n-html="
|
||||
$locale.baseText('ndv.output.tooMuchData.message', {
|
||||
interpolate: { size: dataSizeInMB },
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user