Skip to content

Commit b4527e8

Browse files
committed
chore(web): silence vue/no-v-html for sanitized thread preview
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 3362f283-a915-49b9-ae89-d16e3c7ecb2a
1 parent 00d61b0 commit b4527e8

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎web/app/components/MessageThread.vue‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,10 +177,12 @@ function threadAvatarInitial(thread: EntitiesMessageThread): string {
177177
}"
178178
style="max-width: 250px"
179179
>
180+
<!-- eslint-disable vue/no-v-html -->
180181
<span
181182
v-if="isWhatsappFormatted(thread)"
182183
v-html="threadPreviewHtml(thread)"
183184
/>
185+
<!-- eslint-enable vue/no-v-html -->
184186
<template v-else>{{ thread.last_message_content }}</template>
185187
</v-list-item-subtitle>
186188
<template #append>

0 commit comments

Comments
 (0)