chore: Sanitize html content (#4498)

This commit is contained in:
Muhsin Keloth 2022-04-21 11:27:28 +05:30 committed by GitHub
parent 2c73df4292
commit 27ddd77a1b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
28 changed files with 52 additions and 29 deletions

View file

@ -15,7 +15,10 @@
<span class="agent--name">{{ agentName }}</span>
<span class="company--name"> {{ companyName }}</span>
</div>
<div class="message-content" v-html="formatMessage(message, false)"></div>
<div
v-dompurify-html="formatMessage(message, false)"
class="message-content"
></div>
</button>
</div>
</template>