Properly rewrite channel descriptions

This commit is contained in:
Bnyro
2023-01-30 19:42:57 +01:00
parent fe0fe2ab18
commit 5978848327
3 changed files with 11 additions and 8 deletions

View File

@@ -10,7 +10,7 @@
<img v-if="channel.bannerUrl" :src="channel.bannerUrl" class="w-full pb-1.5" loading="lazy" />
<!-- eslint-disable-next-line vue/no-v-html -->
<p class="whitespace-pre-wrap">
<span v-html="purifyHTML(urlify(channel.description))" />
<span v-html="purifyHTML(rewriteDescription(channel.description))" />
</p>
<button