From f9393b0dab22279e9bdb97a1cf52fecfe278a4a7 Mon Sep 17 00:00:00 2001
From: Ilja <ilja@ilja.space>
Date: Sun, 20 Mar 2022 09:45:35 +0100
Subject: Use RichContent component for Reports

Note that this expects an emoji list for the reports. I made an MR in BE to provide that: https://git.pleroma.social/pleroma/pleroma/-/merge_requests/3650
---
 src/components/report/report.vue | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'src/components/report/report.vue')

diff --git a/src/components/report/report.vue b/src/components/report/report.vue
index 6f7fa7d2..c7766f84 100644
--- a/src/components/report/report.vue
+++ b/src/components/report/report.vue
@@ -28,10 +28,10 @@
         </option>
       </Select>
     </div>
-    <!-- eslint-disable vue/no-v-html -->
-    <div
+    <RichContent
       class="report-content"
-      v-html="report.content"
+      :html="report.content"
+      :emoji="report.emojis"
     />
     <div v-if="report.statuses.length">
       <small>{{ $t('report.reported_statuses') }}</small>
-- 
cgit v1.2.3-70-g09d2

