urlify description

This commit is contained in:
Tom Flux 2022-02-26 14:27:47 +00:00
parent a56e4e0536
commit 5ec840cfa9

View file

@ -89,7 +89,7 @@
v-t="`actions.${showDesc ? 'minimize_description' : 'show_description'}`"
/>
<!-- eslint-disable-next-line vue/no-v-html -->
<p v-show="showDesc" class="break-words" v-html="purifyHTML(video.description)" />
<p v-show="showDesc" class="break-words" v-html="urlify(purifyHTML(video.description))" />
<Chapters v-if="video?.chapters?.length > 0" :chapters="video.chapters" @seek="navigate" />
<div
v-if="showDesc && sponsors && sponsors.segments"