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
28 changed files with 52 additions and 29 deletions
@@ -11,14 +11,14 @@
<header-actions :show-popout-button="showPopoutButton" />
</div>
<h2
class=" mt-5 text-3xl mb-3 font-normal"
v-dompurify-html="introHeading"
class="mt-5 text-3xl mb-3 font-normal"
:class="$dm('text-slate-900', 'dark:text-slate-50')"
v-html="introHeading"
/>
<p
v-dompurify-html="introBody"
class="text-lg leading-normal"
:class="$dm('text-slate-700', 'dark:text-slate-200')"
v-html="introBody"
/>
</header>
</template>