chore: Sanitize html content (#4498)
This commit is contained in:
parent
2c73df4292
commit
27ddd77a1b
28 changed files with 52 additions and 29 deletions
|
@ -80,8 +80,8 @@
|
|||
>
|
||||
<p
|
||||
v-if="isSignatureAvailable"
|
||||
v-dompurify-html="formatMessage(messageSignature)"
|
||||
class="message-signature"
|
||||
v-html="formatMessage(messageSignature)"
|
||||
/>
|
||||
<p v-else class="message-signature">
|
||||
{{ $t('CONVERSATION.FOOTER.MESSAGE_SIGNATURE_NOT_CONFIGURED') }}
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
'hide--quoted': !showQuotedContent,
|
||||
}"
|
||||
>
|
||||
<div class="text-content" v-html="message"></div>
|
||||
<div v-dompurify-html="message" class="text-content"></div>
|
||||
<button
|
||||
v-if="displayQuotedButton"
|
||||
class="quoted-text--button"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue