Skip to content

Send and receive SMS messages using your Android phone programmatically via a simple HTTP API

chore(web): silence vue/no-v-html for sanitized thread preview

Acho Arnold Ewinb4527e8a572e
diff --git a/web/app/components/MessageThread.vue b/web/app/components/MessageThread.vue
index 53bd401b..2a699408 100644
--- a/web/app/components/MessageThread.vue
+++ b/web/app/components/MessageThread.vue
@@ -177,10 +177,12 @@ function threadAvatarInitial(thread: EntitiesMessageThread): string {
}"
style="max-width: 250px"
>
+ <!-- eslint-disable vue/no-v-html -->
<span
v-if="isWhatsappFormatted(thread)"
v-html="threadPreviewHtml(thread)"
/>
+ <!-- eslint-enable vue/no-v-html -->
<template v-else>{{ thread.last_message_content }}</template>
</v-list-item-subtitle>
<template #append>